Skip to content
Snippets Groups Projects
Commit c05c6fb0 authored by Daniel Rafeh's avatar Daniel Rafeh
Browse files

2 fails - Report adjusted - The first table was adjusted too

parent ecb27735
No related branches found
No related tags found
No related merge requests found
Pipeline #20150 passed
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)
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment