diff --git a/Project_Test/other/YildirimHatice/feature6.py b/Project_Test/other/YildirimHatice/feature6.py index 949c3245dfd02e05b778eadee0d61d09e88e5636..655131be782355c0907d02e39f29b4ee512fc7ce 100644 --- a/Project_Test/other/YildirimHatice/feature6.py +++ b/Project_Test/other/YildirimHatice/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 5bbad9252e3896d09c1f227775b69fe1fb261107..555430e9ac3be16052f24bc96d374bddb5cb2597 100644 --- a/Project_Test/report.md +++ b/Project_Test/report.md @@ -6,7 +6,7 @@ String Calculator - Other Students Codes tested with my testcases | BerishaAlma | yes (9) | none | | GotsisWasilios | yes (8) | none | | PikkemaatLasse | yes (8) | none | -| YildirimHatice | | | +| YildirimHatice | yes (9) | none | | WeishauptOrlando | yes (6) | none | | SerchimoMarvin | yes (6) | none | @@ -18,6 +18,6 @@ String Calculator - My Code tested with the other students testcases | 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 | no | 2 failed testcases ( the test expected a ValueError to be raised but it wasn't - test_add_exception, test_add_negative_numbers) | | PikkemaatLasse | yes (1) | 2 failed testcases ( again ValueError expected - test_add_single_negative_number, test_add_multiple_negative_numbers) | -| YildirimHatice | | | +| YildirimHatice | no | 2 failed testcases ( again ValueError expected - test_negative_number, test_multiple_negative_numbers) | | WeishauptOrlando | | | | SerchimoMarvin | | | \ No newline at end of file