Skip to content
Snippets Groups Projects
Commit 4f5ac3fa authored by Louis Vauterin's avatar Louis Vauterin
Browse files

fixed test_calculator.py

parent ae70681b
No related branches found
No related tags found
No related merge requests found
Pipeline #46376 failed
......@@ -51,8 +51,8 @@ def test_evaluation(setup):
"""
plus, minus, times, divide, calc = setup
assert calc("1 + 2") == 3
assert calc("5 - 1") == 3
assert calc("3 * 2") == 3
assert calc("6 / 3") == 3
assert calc("5 - 1") == 4
assert calc("3 * 2") == 6
assert calc("6 / 3") == 2
# À toi de tester la fonction __call__ de Calculator.
# Essaie de tester tous les opérateurs.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment