feat: Add a clamp function to the calculator #8
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "typosaurus/7-add-a-clamp-function-to-the-calculator"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was built
Add a
clamp(value, low, high)function to src/calculator.py that returns value bounded by low and high, and raises ValueError when low > high. Follow the conventions in CLAUDE.md.Acceptance criteria
Commits
8605a8c5969e-c7f0712d1246-Run
Cost: 0.0017 USD · Nodes: 6 · Verification: make verify
Closes #7
Please rebbbase this ticket again!!
Please add a lot of tests.
Pull request closed