diff --git a/Project_tests/other/YildirimHatice/converter.py b/Project_tests/other/YildirimHatice/converter.py index 0ef9bd00dc3c5f4bb6eec9d95b79aea454ffd3f8..abfa48994488def812ae42b3f4f7086ef89fedea 100644 --- a/Project_tests/other/YildirimHatice/converter.py +++ b/Project_tests/other/YildirimHatice/converter.py @@ -3,6 +3,9 @@ import unittest from abc import ABC, abstractmethod +import sys +sys.path.append('C:/Users/HP/OneDrive/Praxisprojekt Semester 6/praxisprojekt-technologiebasierte-innovationen') +from Project_tests.converter import DanisConverter as DaniConv class IRomanNumber(ABC): @abstractmethod @@ -21,7 +24,7 @@ class RomanNumber(IRomanNumber): class TestRomanConverter(unittest.TestCase): def setUp(self): - self.converter = RomanNumber() + self.converter = DaniConv() def test_single_value(self): self.assertEqual(self.converter.convert(1), "I") diff --git a/Project_tests/report.md b/Project_tests/report.md index 2f8ca41b93e8510f46b0225e0f0eda849c6b1fa0..ae40bca7ee93be06e4047d53ccd8d095a2c7f409 100644 --- a/Project_tests/report.md +++ b/Project_tests/report.md @@ -18,6 +18,6 @@ Roman Numbers - My Codes tested with other students testcases: | BerishaAlma | no | none | | GotsisWasilios | no | 3/7 Tests failed (test_convert_string because the message is not equal, test_convert_empty also the return message is not equal, test_convert_downzero also because of the unequal return message) | | 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 | | | +| 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 | | | | SerchimoMarvin | - | - | \ No newline at end of file