From da4d085e825bccb201e89386692b3ab6906c118a Mon Sep 17 00:00:00 2001 From: Arman Lidder Date: Fri, 3 Oct 2025 13:59:41 -0400 Subject: [PATCH] Mutant test --- src/test_CCoinBox.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/test_CCoinBox.py b/src/test_CCoinBox.py index 3937536..01e4958 100644 --- a/src/test_CCoinBox.py +++ b/src/test_CCoinBox.py @@ -1,6 +1,7 @@ import unittest from CCoinBox import CCoinBox + class Test_CCoinBox(unittest.TestCase): def test_pass(self): @@ -26,4 +27,11 @@ def test_permet_une_double_vente(self): coinBox.ajouter_25c() coinBox.ajouter_25c() coinBox.vente() - self.assertEqual(coinBox.get_vente_permise(), True) \ No newline at end of file + self.assertEqual(coinBox.get_vente_permise(), True) + + def test_monnaie_apres_vente(self): + coinBox = CCoinBox() + coinBox.ajouter_25c() + coinBox.ajouter_25c() + coinBox.vente() + self.assertEqual(coinBox.get_monnaie_courante() == 0, True)