From 73ee209f4e510fb170f6ca50a13d5ea3ec863b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Charlier?= <clement.charlier@student-cs.fr> Date: Thu, 13 Oct 2022 18:11:29 +0200 Subject: [PATCH] mod --- calculator/test_calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculator/test_calculator.py b/calculator/test_calculator.py index fb592cc..ab01876 100644 --- a/calculator/test_calculator.py +++ b/calculator/test_calculator.py @@ -53,6 +53,6 @@ def test_evaluation(setup): assert calc("1 + 2") == 3 assert calc("2 * 2") == 4 assert calc('4 / 2') == 2 - assert calc("5 - 3") == 8 + assert calc("5 - 3") == 2 # À toi de tester la fonction __call__ de Calculator. # Essaie de tester tous les opérateurs. -- GitLab