Exemplo n.º 1
0
 def test_thirty_thousand_odd(self):
     self.assertEqual('ThirtyThousandFiveHundredTwentyTwo', solution('30522'))
Exemplo n.º 2
0
 def test_eight_hun_eighty(self):
     self.assertEqual('EightHundredEighty', solution('880'))
Exemplo n.º 3
0
 def test_provided_5(self):
     self.assertEqual('OneThousandTwoHundredThirtyFour', solution('1234'))
Exemplo n.º 4
0
 def test_provided_4(self):
     self.assertEqual('FourHundredSixtySix', solution('466'))
Exemplo n.º 5
0
 def test_provided_3(self):
     self.assertEqual('TwentyOne', solution('21'))
Exemplo n.º 6
0
 def test_provided_2(self):
     self.assertEqual('Ten', solution('10'))
Exemplo n.º 7
0
 def test_provided_1(self):
     self.assertEqual('Three', solution('3'))