Пример #1
0
 def test_deset(self):
     """Vytvoreni testu ktery testne input 10."""
     result = projectRom.intToRom(10)
     self.assertEqual(result, 'X')
Пример #2
0
 def test_devet(self):
     """Vytvoreni testu ktery tesne 9."""
     result = projectRom.intToRom(9)
     self.assertEqual(result, 'IX')
Пример #3
0
 def test_nula(self):
     """Vytvoreni testu ktery tesne 0."""
     result = projectRom.intToRom(0)
     self.assertEqual(result, '')
Пример #4
0
 def test_stojedenact(self):
     """Vytvoreni testu ktery testne 111."""
     result = projectRom.intToRom(111)
     self.assertEqual(result, 'CXI')