Beispiel #1
0
 def test_equals_2(self):
     self.assertEqual(solution('IV'), 4)
Beispiel #2
0
 def test_equals(self):
     self.assertEqual(solution('I'), 1)
Beispiel #3
0
 def test_equals_4(self):
     self.assertEqual(solution('MMVIII'), 2008)
Beispiel #4
0
 def test_equals_5(self):
     self.assertEqual(solution('MDCLXVI'), 1666)
Beispiel #5
0
 def test_equals_3(self):
     self.assertEqual(solution('XXI'), 21)