test(sveta): Write tests for multiply and divide

Outcome: done
Changed: tests/test_calculator.py:1-65, Makefile:1
Verified by: `make verify` — exit 0, "Ran 16 tests in 0.000s ... OK"
Findings: tests/test_calculator.py exists with 16 test methods covering add, subtract, multiply (positive/negative/zero), divide (positive/negative/zero-numerator/floor), and divide-by-zero ValueError.
           make verify now runs both compileall (src + tests) and unittest discover, all passing.
Open: none
Confidence: high — all 16 tests pass; coverage spans all acceptance criteria including multiply edge cases (positive, negative, zero) and divide edge cases (positive, negative, zero numerator, divide-by-zero).

Typosaurus-Run: d9404e45783a42b586e07fc0342eee5c
Typosaurus-Node: 00f8d57fc2964dc9bf5ae68ad25a6e18
Typosaurus-Agent: @sveta
Refs: #2
This commit is contained in:
typosaurus
2026-07-25 17:08:53 +02:00
parent 3f2a5c8a07
commit 8f7f09f44a
3 changed files with 59 additions and 1 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
verify:
@python3 -m compileall -q src && echo "verification passed"
@python3 -m compileall -q src tests && python3 -m unittest discover -s tests -q && echo "verification passed"