diff --git a/Project_Test/__pycache__/stringCalculator.cpython-312.pyc b/Project_Test/__pycache__/stringCalculator.cpython-312.pyc index 3991daacbeef5440d4e799667d0c59a0c3e2214e..61e4a1e01dac0735a221262ea26b5505d66324ef 100644 Binary files a/Project_Test/__pycache__/stringCalculator.cpython-312.pyc and b/Project_Test/__pycache__/stringCalculator.cpython-312.pyc differ diff --git a/Project_Test/other/BerishaAlma/Feature6.py b/Project_Test/other/BerishaAlma/Feature6.py index 0f35297ebc07e1bd3d13bb70713f3ecbe5b9f33a..247478ecfe1fe5c68418262dbe61fdab022b3888 100644 --- a/Project_Test/other/BerishaAlma/Feature6.py +++ b/Project_Test/other/BerishaAlma/Feature6.py @@ -1,5 +1,8 @@ from abc import ABC, abstractmethod import unittest +import sys +sys.path.append(r'C:\Users\HP\Downloads\ReportingService\ReportingService\Frontend\Neuer Ordner\Neuer Ordner\modern-dev-tdd-assignments') +from Project_Test.stringCalculator import StringCalculator as DaniCalc class IStringCalculator(ABC): @abstractmethod @@ -39,7 +42,7 @@ class StringCalculator(IStringCalculator): class TestStringCalculator(unittest.TestCase): def setUp(self): - self.calculator = StringCalculator() + self.calculator = DaniCalc() def test_empty_string(self): self.assertEqual(self.calculator.add(""), 0) diff --git a/Project_Test/report.md b/Project_Test/report.md index c6478413a02ef8b76534997d9d74c0deee5dabc4..9322248952e790bdae8b2160b7d91b615bfd605b 100644 --- a/Project_Test/report.md +++ b/Project_Test/report.md @@ -15,7 +15,7 @@ String Calculator - My Code tested with the other students testcases | Name | Interface break | Failed Testcases | |------------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | AliciMuhamed | no | 4 failed testcases (the tests expected a ValueError to be raised but it wasn´t - test_add_numbers_greater_1000_and_minus, test_add_numbers_with_custom_delimiter, test_multiple_negative_numbers_exception, test_negative_number_exception) | -| BerishaAlma | | | +| BerishaAlma | no | 2 failed testcases (the tests expected a ValueError to be raised but it wasn't - test_negative_number, test_multiple_negative_numbers) | | GotsisWasilios | | | | PikkemaatLasse | | | | YildirimHatice | | |