From ecb27735a9a554e08602801758ab99a6bde1c0b1 Mon Sep 17 00:00:00 2001
From: DaniRafeh28 <daniel.rafeh@student.reutlingen-university.de>
Date: Sat, 5 Apr 2025 13:32:46 +0200
Subject: [PATCH] 1 error, 2 fails detected - Report adjusted

---
 Project_Test/other/PikkemaatLasse/stringcalculator.py | 5 ++++-
 Project_Test/report.md                                | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Project_Test/other/PikkemaatLasse/stringcalculator.py b/Project_Test/other/PikkemaatLasse/stringcalculator.py
index d4f0263..364c115 100644
--- a/Project_Test/other/PikkemaatLasse/stringcalculator.py
+++ b/Project_Test/other/PikkemaatLasse/stringcalculator.py
@@ -1,6 +1,9 @@
 import re
 
 from abc import ABC, abstractmethod
+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
@@ -45,7 +48,7 @@ import unittest
 
 class TestStringCalculator(unittest.TestCase):
     def setUp(self):
-        self.calculator: IStringCalculator = StringCalculator()  # Zugriff über das Interface
+        self.calculator = DaniCalc()
 
     def test_add_empty_string(self):
         self.assertEqual(self.calculator.add(""), 0)
diff --git a/Project_Test/report.md b/Project_Test/report.md
index 9b4ca97..5bbad92 100644
--- a/Project_Test/report.md
+++ b/Project_Test/report.md
@@ -17,7 +17,7 @@ String Calculator - My Code tested with the other students 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      | 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   |                 |                                                                                                                                                                                                                                             |
+| PikkemaatLasse   | yes (1)         | 2 failed testcases ( again ValueError expected - test_add_single_negative_number, test_add_multiple_negative_numbers)                                                                                                                       |
 | YildirimHatice   |                 |                                                                                                                                                                                                                                             |
 | WeishauptOrlando |                 |                                                                                                                                                                                                                                             |
 | SerchimoMarvin   |                 |                                                                                                                                                                                                                                             |
\ No newline at end of file
-- 
GitLab