diff --git a/Project_tests/converter.py b/Project_tests/converter.py index 6e78f472f8d11fec1fe1cc09537c204a0b06aa02..718537073d7f29ea9665ad3f4c24260e36998859 100644 --- a/Project_tests/converter.py +++ b/Project_tests/converter.py @@ -72,7 +72,7 @@ class DanisConverter(IConverter): else: return "Bitte ganze Zahlen eingeben" -"""class TestConverter(unittest.TestCase): +class TestConverter(unittest.TestCase): def setUp(self): self.c = DanisConverter() @@ -179,7 +179,7 @@ class DanisConverter(IConverter): def test_convertEmpty(self): res = self.c.convert('') - self.assertEqual(res, "Bitte ganze Zahlen eingeben")""" + self.assertEqual(res, "Bitte ganze Zahlen eingeben") diff --git a/Project_tests/report.md b/Project_tests/report.md index 57b537f520e88f0c4adeb4197760437af6f3d8b6..974004c0acca798a3c6f057a7b2d2d4b8a877a54 100644 --- a/Project_tests/report.md +++ b/Project_tests/report.md @@ -20,4 +20,4 @@ Roman Numbers - My Codes tested with other students testcases: | PikkemaatLasse | no | 4/6 Tests failed (test_to_roman_subtraction the code does not subtract properly, test_to_roman_mixed the code doesn´t convert 400 properly (CCCC != CD), test_to_roman_large_numbers same problem with CCCC again, test_to_roman_invalid the test raises value errors in my code there´s a return message to handle "errors") | | YildirimHatice | no | 1/2 Tests failed (test_inivalid_numbers because the output of the testcase gives back an empty string instead of numbers or return messages (e.g. VI =! "")) | | WeishauptOrlando | no | all (due to the problem that the testcases are for converting strings to integers instead integers to strings) | -| SerchimoMarvin | - | - | \ No newline at end of file +| SerchimoMarvin | - - | - - | \ No newline at end of file