From 26f707874981387391f8b240e9b94b773036e745 Mon Sep 17 00:00:00 2001 From: DaniRafeh28 <daniel.rafeh@student.reutlingen-university.de> Date: Fri, 4 Apr 2025 16:44:24 +0200 Subject: [PATCH] comments removed -- Report Table adjusted --- Project_tests/converter.py | 4 ++-- Project_tests/report.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project_tests/converter.py b/Project_tests/converter.py index 6e78f47..7185370 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 57b537f..974004c 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 -- GitLab