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