예제 #1
0
 def testNumeralMMMCMXCIXisThreeThousandNinentyNine(self):
     self.assertEquals(fromNumerals('MMMCMXCIX'), 3999)
예제 #2
0
 def testNumeralDCLXVIisTheNumberOfTheBeast(self):
     self.assertEquals(fromNumerals('DCLXVI'), 666)
예제 #3
0
 def testNumeralIIisTwo(self):
     self.assertEquals(fromNumerals('II'), 2)
예제 #4
0
 def testNumeralIVisFour(self):
     self.assertEquals(fromNumerals('IV'), 4)                               
예제 #5
0
 def testNumeralIisOne(self):
     self.assertEquals(fromNumerals('I'), 1)