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

Test 4/17 erfolgreich

parent 2d548630
2 merge requests!4Main,!2Main to develop
......@@ -26,7 +26,7 @@ class IConverter(ABC):
class Converter(IConverter):
def convert(self, num: int) -> str:
roman_numbers = [(1, 'I')]
roman_numbers = [(4, 'IV'), (1, 'I')]
roman_str = ''
......@@ -54,6 +54,10 @@ class TestConverter(unittest.TestCase):
res = self.c.convert(3)
self.assertEqual(res, 'III')
def test_convertTwo(self):
res = self.c.convert(4)
self.assertEqual(res, 'IV')
if __name__ == "__main__":
......
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