From 5d39c2c4653f93387127789e4ceee0ce294143dc Mon Sep 17 00:00:00 2001 From: Marvin Serchimo <marvin.serchimo@student.reutlingen-university.de> Date: Sun, 6 Apr 2025 13:42:35 +0200 Subject: [PATCH] no test failed --- ProjektTest/other/RafehDaniel/converter.py | 7 +++++-- ProjektTest/report.md | 13 +++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ProjektTest/other/RafehDaniel/converter.py b/ProjektTest/other/RafehDaniel/converter.py index 1d5eff4..357b642 100644 --- a/ProjektTest/other/RafehDaniel/converter.py +++ b/ProjektTest/other/RafehDaniel/converter.py @@ -27,6 +27,9 @@ import unittest from abc import ABC, abstractmethod +import sys +sys.path.append("/Users/marvin/Documents/GitHub/romannumbers") +from ProjektTest.test_converter import RomanConverter as MyConverter class IConverter(ABC): @abstractmethod @@ -69,10 +72,10 @@ class Converter(IConverter): class TestConverter(unittest.TestCase): def setUp(self): - self.c = Converter() + self.c = MyConverter() def test_convertOne(self): - res = self.c.convert(1) + res = self.c.convert(1) self.assertEqual(res, 'I') def test_convertTwo(self): diff --git a/ProjektTest/report.md b/ProjektTest/report.md index e4666f8..f9b15f9 100644 --- a/ProjektTest/report.md +++ b/ProjektTest/report.md @@ -12,10 +12,11 @@ -| Name | Interface break | Failed Testcases | -|---------------|------------------|-------------------| -| AliciMuhamed | no | 0 | -| BerishaAlma | no | 0 | -| GotsisWasilios| no | 2 | -| YildirimHatice| no | 1 | +| Name | Interface break | Failed Testcases | +|----------------|------------------|-------------------| +| AliciMuhamed | no | 0 | +| BerishaAlma | no | 0 | +| GotsisWasilios | no | 2 | +| YildirimHatice | no | 1 | +| RafehDaniel | no | 0 | -- GitLab