import unittest
from soundex import letters_to_numbers, truncate_to_three_digits, add_zero_padding
from french_count import french_count, prepare_input
from morphology import generate
from fsmutils import trace

class TestSequenceFunctions(unittest.TestCase):
    def setUp(self):
        self.f1 = letters_to_numbers()
        self.f2 = truncate_to_three_digits()
        self.f3 = add_zero_padding()
        self.french = french_count()

    def test_letters(self):
        s = []
        try: self.assertEqual("".join(self.f1.transduce(x for x in "washington")), "w25235")
        except: s.append(1)
#        trace(self.f1, "washington")
#        print ("".join(self.f1.transduce(x for x in "washington")))
        try: self.assertEqual("".join(self.f1.transduce(x for x in "jefferson")), "j1625")
        except: s.append(2)
#        trace(self.f1, "jefferson")
#        print ("".join(self.f1.transduce(x for x in "jefferson")))
        try: self.assertEqual("".join(self.f1.transduce(x for x in "adams")), "a352")
        except: s.append(3)
#        print ("".join(self.f1.transduce(x for x in "adams")))
        try: self.assertEqual("".join(self.f1.transduce(x for x in "bush")), "b2")
        except: s.append(4)
#        print ("".join(self.f1.transduce(x for x in "bush")))
        try: self.assertEqual("".join(self.f1.transduce(x for x in "mmmx")), "m2")
        except: s.append(5)
#        trace(self.f1, "mmmx")
        try: self.assertEqual("".join(self.f1.transduce(x for x in "mnemonic")), "m552")
        except: s.append(6)
#        trace(self.f1, "mnemonic")
        try: self.assertEqual("".join(self.f1.transduce(x for x in "lee")), "l")
        except: s.append(7)
#        trace(self.f1, "lee")
        try: self.assertEqual("".join(self.f1.transduce(x for x in "llyod")), "l3")
        except: s.append(8)
        try: self.assertEqual("".join(self.f1.transduce(x for x in "moses")), "m22")
        except: s.append(9)
        try: self.assertEqual("".join(self.f1.transduce(x for x in "pfister")), "p236")
        except: s.append(10)
        try: self.assertEqual("".join(self.f1.transduce(x for x in "tymczak")), "t522")
        except: s.append(11)

        print '\nNumber of failed letters tests:', str(len(s))
        if len(s)!=0: print 'Failed letters tests:', ','.join([str(x) for x in s])

    def test_truncation(self):
        s = []
        try: self.assertEqual("".join(self.f2.transduce(x for x in "a33333")), "a333")
        except: s.append(1)
#        print ("".join(self.f2.transduce(x for x in "a33333")))
#        trace(self.f2, "a33333")
        try: self.assertEqual("".join(self.f2.transduce(x for x in "123456")), "123")
        except: s.append(2)
#        trace(self.f2, "123456")
        try: self.assertEqual("".join(self.f2.transduce(x for x in "11")), "11")
        except: s.append(3)
#        trace(self.f2, "11")
#        print ("".join(self.f2.transduce(x for x in "11")))
        try: self.assertEqual("".join(self.f2.transduce(x for x in "5")), "5")
        except: s.append(4)
#        trace(self.f2, "5")
#        print ("".join(self.f2.transduce(x for x in "5")))
        try: self.assertEqual("".join(self.f2.transduce(x for x in "l")), "l")
        except: s.append(5)
#        trace(self.f2, "l")

        print '\nNumber of failed truncation tests:', str(len(s))
        if len(s)!=0: print 'Failed truncation tests:', ','.join([str(x) for x in s])

    def test_padding(self):
        s = []
        try: self.assertEqual("".join(self.f3.transduce(x for x in "3")), "300")
        except: s.append(1)
#        print ("".join(self.f3.transduce(x for x in "3")))
#        trace(self.f3, "3")
        try: self.assertEqual("".join(self.f3.transduce(x for x in "b56")), "b560")
        except: s.append(2)
#        trace(self.f3, "b56")
#        print ("".join(self.f3.transduce(x for x in "b56")))
        try: self.assertEqual("".join(self.f3.transduce(x for x in "c111")), "c111")
        except: s.append(3)
#        print ("".join(self.f3.transduce(x for x in "c111")))
#        trace(self.f3, "c111")
        try: self.assertEqual("".join(self.f3.transduce(x for x in "l")), "l000")
        except: s.append(4)
#        trace(self.f3, "l")

        print '\nNumber of failed padding tests:', str(len(s))
        if len(s)!=0: print 'Failed padding tests:', ','.join([str(x) for x in s])

    def test_numbers(self):
        s = []
        try: val=' '.join(self.french.transduce(prepare_input(1)));self.assertEqual(val, "un")
        except: print "got "+val+", expected: un for 1";s.append(1)
        try: val=' '.join(self.french.transduce(prepare_input(2)));self.assertEqual(val, "deux")
        except: print "got "+val+", expected: deux for 2";s.append(2)
        try: val=' '.join(self.french.transduce(prepare_input(3)));self.assertEqual(val, "trois")
        except: print "got "+val+", expected: trois for 3";s.append(3)
        try: val=' '.join(self.french.transduce(prepare_input(4)));self.assertEqual(val, "quatre")
        except: print "got "+val+", expected: quatre for 4";s.append(4)
        try: val=' '.join(self.french.transduce(prepare_input(5)));self.assertEqual(val, "cinq")
        except: print "got "+val+", expected: cinq for 5";s.append(5)
        try: val=' '.join(self.french.transduce(prepare_input(6)));self.assertEqual(val, "six")
        except: print "got "+val+", expected: six for 6";s.append(6)
        try: val=' '.join(self.french.transduce(prepare_input(7)));self.assertEqual(val, "sept")
        except: print "got "+val+", expected: sept for 7";s.append(7)
        try: val=' '.join(self.french.transduce(prepare_input(8)));self.assertEqual(val, "huit")
        except: print "got "+val+", expected: huit for 8";s.append(8)
        try: val=' '.join(self.french.transduce(prepare_input(9)));self.assertEqual(val, "neuf")
        except: print "got "+val+", expected: neuf for 9";s.append(9)
        try: val=' '.join(self.french.transduce(prepare_input(10)));self.assertEqual(val, "dix")
        except: print "got "+val+", expected: dix for 10";s.append(10)
        try: val=' '.join(self.french.transduce(prepare_input(11)));self.assertEqual(val, "onze")
        except: print "got "+val+", expected: onze for 11";s.append(11)
        try: val=' '.join(self.french.transduce(prepare_input(12)));self.assertEqual(val, "douze")
        except: print "got "+val+", expected: douze for 12";s.append(12)
        try: val=' '.join(self.french.transduce(prepare_input(13)));self.assertEqual(val, "treize")
        except: print "got "+val+", expected: treize for 13";s.append(13)
        try: val=' '.join(self.french.transduce(prepare_input(14)));self.assertEqual(val, "quatorze")
        except: print "got "+val+", expected: quatorze for 14";s.append(14)
        try: val=' '.join(self.french.transduce(prepare_input(15)));self.assertEqual(val, "quinze")
        except: print "got "+val+", expected: quinze for 15";s.append(15)
        try: val=' '.join(self.french.transduce(prepare_input(16)));self.assertEqual(val, "seize")
        except: print "got "+val+", expected: seize for 16";s.append(16)
        try: val=' '.join(self.french.transduce(prepare_input(17)));self.assertEqual(val, "dix sept")
        except: print "got "+val+", expected: dix sept for 17";s.append(17)
        try: val=' '.join(self.french.transduce(prepare_input(18)));self.assertEqual(val, "dix huit")
        except: print "got "+val+", expected: dix huit for 18";s.append(18)
        try: val=' '.join(self.french.transduce(prepare_input(19)));self.assertEqual(val, "dix neuf")
        except: print "got "+val+", expected: dix neuf for 19";s.append(19)
        try: val=' '.join(self.french.transduce(prepare_input(20)));self.assertEqual(val, "vingt")
        except: print "got "+val+", expected: vingt for 20";s.append(20)
        try: val=' '.join(self.french.transduce(prepare_input(21)));self.assertEqual(val, "vingt et un")
        except: print "got "+val+", expected: vingt et un for 21";s.append(21)
        try: val=' '.join(self.french.transduce(prepare_input(22)));self.assertEqual(val, "vingt deux")
        except: print "got "+val+", expected: vingt deux for 22";s.append(22)
        try: val=' '.join(self.french.transduce(prepare_input(23)));self.assertEqual(val, "vingt trois")
        except: print "got "+val+", expected: vingt trois for 23";s.append(23)
        try: val=' '.join(self.french.transduce(prepare_input(24)));self.assertEqual(val, "vingt quatre")
        except: print "got "+val+", expected: vingt quatre for 24";s.append(24)
        try: val=' '.join(self.french.transduce(prepare_input(25)));self.assertEqual(val, "vingt cinq")
        except: print "got "+val+", expected: vingt cinq for 25";s.append(25)
        try: val=' '.join(self.french.transduce(prepare_input(26)));self.assertEqual(val, "vingt six")
        except: print "got "+val+", expected: vingt six for 26";s.append(26)
        try: val=' '.join(self.french.transduce(prepare_input(27)));self.assertEqual(val, "vingt sept")
        except: print "got "+val+", expected: vingt sept for 27";s.append(27)
        try: val=' '.join(self.french.transduce(prepare_input(28)));self.assertEqual(val, "vingt huit")
        except: print "got "+val+", expected: vingt huit for 28";s.append(28)
        try: val=' '.join(self.french.transduce(prepare_input(29)));self.assertEqual(val, "vingt neuf")
        except: print "got "+val+", expected: vingt neuf for 29";s.append(29)
        try: val=' '.join(self.french.transduce(prepare_input(30)));self.assertEqual(val, "trente")
        except: print "got "+val+", expected: trente for 30";s.append(30)
        try: val=' '.join(self.french.transduce(prepare_input(31)));self.assertEqual(val, "trente et un")
        except: print "got "+val+", expected: trente et un for 31";s.append(31)
        try: val=' '.join(self.french.transduce(prepare_input(32)));self.assertEqual(val, "trente deux")
        except: print "got "+val+", expected: trente deux for 32";s.append(32)
        try: val=' '.join(self.french.transduce(prepare_input(33)));self.assertEqual(val, "trente trois")
        except: print "got "+val+", expected: trente trois for 33";s.append(33)
        try: val=' '.join(self.french.transduce(prepare_input(34)));self.assertEqual(val, "trente quatre")
        except: print "got "+val+", expected: trente quatre for 34";s.append(34)
        try: val=' '.join(self.french.transduce(prepare_input(35)));self.assertEqual(val, "trente cinq")
        except: print "got "+val+", expected: trente cinq for 35";s.append(35)
        try: val=' '.join(self.french.transduce(prepare_input(36)));self.assertEqual(val, "trente six")
        except: print "got "+val+", expected: trente six for 36";s.append(36)
        try: val=' '.join(self.french.transduce(prepare_input(37)));self.assertEqual(val, "trente sept")
        except: print "got "+val+", expected: trente sept for 37";s.append(37)
        try: val=' '.join(self.french.transduce(prepare_input(38)));self.assertEqual(val, "trente huit")
        except: print "got "+val+", expected: trente huit for 38";s.append(38)
        try: val=' '.join(self.french.transduce(prepare_input(39)));self.assertEqual(val, "trente neuf")
        except: print "got "+val+", expected: trente neuf for 39";s.append(39)
        try: val=' '.join(self.french.transduce(prepare_input(40)));self.assertEqual(val, "quarante")
        except: print "got "+val+", expected: quarante for 40";s.append(40)
        try: val=' '.join(self.french.transduce(prepare_input(41)));self.assertEqual(val, "quarante et un")
        except: print "got "+val+", expected: quarante et un for 41";s.append(41)
        try: val=' '.join(self.french.transduce(prepare_input(42)));self.assertEqual(val, "quarante deux")
        except: print "got "+val+", expected: quarante deux for 42";s.append(42)
        try: val=' '.join(self.french.transduce(prepare_input(43)));self.assertEqual(val, "quarante trois")
        except: print "got "+val+", expected: quarante trois for 43";s.append(43)
        try: val=' '.join(self.french.transduce(prepare_input(44)));self.assertEqual(val, "quarante quatre")
        except: print "got "+val+", expected: quarante quatre for 44";s.append(44)
        try: val=' '.join(self.french.transduce(prepare_input(45)));self.assertEqual(val, "quarante cinq")
        except: print "got "+val+", expected: quarante cinq for 45";s.append(45)
        try: val=' '.join(self.french.transduce(prepare_input(46)));self.assertEqual(val, "quarante six")
        except: print "got "+val+", expected: quarante six for 46";s.append(46)
        try: val=' '.join(self.french.transduce(prepare_input(47)));self.assertEqual(val, "quarante sept")
        except: print "got "+val+", expected: quarante sept for 47";s.append(47)
        try: val=' '.join(self.french.transduce(prepare_input(48)));self.assertEqual(val, "quarante huit")
        except: print "got "+val+", expected: quarante huit for 48";s.append(48)
        try: val=' '.join(self.french.transduce(prepare_input(49)));self.assertEqual(val, "quarante neuf")
        except: print "got "+val+", expected: quarante neuf for 49";s.append(49)
        try: val=' '.join(self.french.transduce(prepare_input(50)));self.assertEqual(val, "cinquante")
        except: print "got "+val+", expected: cinquante for 50";s.append(50)
        try: val=' '.join(self.french.transduce(prepare_input(51)));self.assertEqual(val, "cinquante et un")
        except: print "got "+val+", expected: cinquante et un for 51";s.append(51)
        try: val=' '.join(self.french.transduce(prepare_input(52)));self.assertEqual(val, "cinquante deux")
        except: print "got "+val+", expected: cinquante deux for 52";s.append(52)
        try: val=' '.join(self.french.transduce(prepare_input(53)));self.assertEqual(val, "cinquante trois")
        except: print "got "+val+", expected: cinquante trois for 53";s.append(53)
        try: val=' '.join(self.french.transduce(prepare_input(54)));self.assertEqual(val, "cinquante quatre")
        except: print "got "+val+", expected: cinquante quatre for 54";s.append(54)
        try: val=' '.join(self.french.transduce(prepare_input(55)));self.assertEqual(val, "cinquante cinq")
        except: print "got "+val+", expected: cinquante cinq for 55";s.append(55)
        try: val=' '.join(self.french.transduce(prepare_input(56)));self.assertEqual(val, "cinquante six")
        except: print "got "+val+", expected: cinquante six for 56";s.append(56)
        try: val=' '.join(self.french.transduce(prepare_input(57)));self.assertEqual(val, "cinquante sept")
        except: print "got "+val+", expected: cinquante sept for 57";s.append(57)
        try: val=' '.join(self.french.transduce(prepare_input(58)));self.assertEqual(val, "cinquante huit")
        except: print "got "+val+", expected: cinquante huit for 58";s.append(58)
        try: val=' '.join(self.french.transduce(prepare_input(59)));self.assertEqual(val, "cinquante neuf")
        except: print "got "+val+", expected: cinquante neuf for 59";s.append(59)
        try: val=' '.join(self.french.transduce(prepare_input(60)));self.assertEqual(val, "soixante")
        except: print "got "+val+", expected: soixante for 60";s.append(60)
        try: val=' '.join(self.french.transduce(prepare_input(61)));self.assertEqual(val, "soixante et un")
        except: print "got "+val+", expected: soixante et un for 61";s.append(61)
        try: val=' '.join(self.french.transduce(prepare_input(62)));self.assertEqual(val, "soixante deux")
        except: print "got "+val+", expected: soixante deux for 62";s.append(62)
        try: val=' '.join(self.french.transduce(prepare_input(63)));self.assertEqual(val, "soixante trois")
        except: print "got "+val+", expected: soixante trois for 63";s.append(63)
        try: val=' '.join(self.french.transduce(prepare_input(64)));self.assertEqual(val, "soixante quatre")
        except: print "got "+val+", expected: soixante quatre for 64";s.append(64)
        try: val=' '.join(self.french.transduce(prepare_input(65)));self.assertEqual(val, "soixante cinq")
        except: print "got "+val+", expected: soixante cinq for 65";s.append(65)
        try: val=' '.join(self.french.transduce(prepare_input(66)));self.assertEqual(val, "soixante six")
        except: print "got "+val+", expected: soixante six for 66";s.append(66)
        try: val=' '.join(self.french.transduce(prepare_input(67)));self.assertEqual(val, "soixante sept")
        except: print "got "+val+", expected: soixante sept for 67";s.append(67)
        try: val=' '.join(self.french.transduce(prepare_input(68)));self.assertEqual(val, "soixante huit")
        except: print "got "+val+", expected: soixante huit for 68";s.append(68)
        try: val=' '.join(self.french.transduce(prepare_input(69)));self.assertEqual(val, "soixante neuf")
        except: print "got "+val+", expected: soixante neuf for 69";s.append(69)
        try: val=' '.join(self.french.transduce(prepare_input(70)));self.assertEqual(val, "soixante dix")
        except: print "got "+val+", expected: soixante dix for 70";s.append(70)
        try: val=' '.join(self.french.transduce(prepare_input(71)));self.assertEqual(val, "soixante et onze")
        except: print "got "+val+", expected: soixante et onze for 71";s.append(71)
        try: val=' '.join(self.french.transduce(prepare_input(72)));self.assertEqual(val, "soixante douze")
        except: print "got "+val+", expected: soixante douze for 72";s.append(72)
        try: val=' '.join(self.french.transduce(prepare_input(73)));self.assertEqual(val, "soixante treize")
        except: print "got "+val+", expected: soixante treize for 73";s.append(73)
        try: val=' '.join(self.french.transduce(prepare_input(74)));self.assertEqual(val, "soixante quatorze")
        except: print "got "+val+", expected: soixante quatorze for 74";s.append(74)
        try: val=' '.join(self.french.transduce(prepare_input(75)));self.assertEqual(val, "soixante quinze")
        except: print "got "+val+", expected: soixante quinze for 75";s.append(75)
        try: val=' '.join(self.french.transduce(prepare_input(76)));self.assertEqual(val, "soixante seize")
        except: print "got "+val+", expected: soixante seize for 76";s.append(76)
        try: val=' '.join(self.french.transduce(prepare_input(77)));self.assertEqual(val, "soixante dix sept")
        except: print "got "+val+", expected: soixante dix sept for 77";s.append(77)
        try: val=' '.join(self.french.transduce(prepare_input(78)));self.assertEqual(val, "soixante dix huit")
        except: print "got "+val+", expected: soixante dix huit for 78";s.append(78)
        try: val=' '.join(self.french.transduce(prepare_input(79)));self.assertEqual(val, "soixante dix neuf")
        except: print "got "+val+", expected: soixante dix neuf for 79";s.append(79)
        try: val=' '.join(self.french.transduce(prepare_input(80)));self.assertEqual(val, "quatre vingt")
        except: print "got "+val+", expected: quatre vingt for 80";s.append(80)
        try: val=' '.join(self.french.transduce(prepare_input(81)));self.assertEqual(val, "quatre vingt un")
        except: print "got "+val+", expected: quatre vingt un for 81";s.append(81)
        try: val=' '.join(self.french.transduce(prepare_input(82)));self.assertEqual(val, "quatre vingt deux")
        except: print "got "+val+", expected: quatre vingt deux for 82";s.append(82)
        try: val=' '.join(self.french.transduce(prepare_input(83)));self.assertEqual(val, "quatre vingt trois")
        except: print "got "+val+", expected: quatre vingt trois for 83";s.append(83)
        try: val=' '.join(self.french.transduce(prepare_input(84)));self.assertEqual(val, "quatre vingt quatre")
        except: print "got "+val+", expected: quatre vingt quatre for 84";s.append(84)
        try: val=' '.join(self.french.transduce(prepare_input(85)));self.assertEqual(val, "quatre vingt cinq")
        except: print "got "+val+", expected: quatre vingt cinq for 85";s.append(85)
        try: val=' '.join(self.french.transduce(prepare_input(86)));self.assertEqual(val, "quatre vingt six")
        except: print "got "+val+", expected: quatre vingt six for 86";s.append(86)
        try: val=' '.join(self.french.transduce(prepare_input(87)));self.assertEqual(val, "quatre vingt sept")
        except: print "got "+val+", expected: quatre vingt sept for 87";s.append(87)
        try: val=' '.join(self.french.transduce(prepare_input(88)));self.assertEqual(val, "quatre vingt huit")
        except: print "got "+val+", expected: quatre vingt huit for 88";s.append(88)
        try: val=' '.join(self.french.transduce(prepare_input(89)));self.assertEqual(val, "quatre vingt neuf")
        except: print "got "+val+", expected: quatre vingt neuf for 89";s.append(89)
        try: val=' '.join(self.french.transduce(prepare_input(90)));self.assertEqual(val, "quatre vingt dix")
        except: print "got "+val+", expected: quatre vingt dix for 90";s.append(90)
        try: val=' '.join(self.french.transduce(prepare_input(91)));self.assertEqual(val, "quatre vingt onze")
        except: print "got "+val+", expected: quatre vingt onze for 91";s.append(91)
        try: val=' '.join(self.french.transduce(prepare_input(92)));self.assertEqual(val, "quatre vingt douze")
        except: print "got "+val+", expected: quatre vingt douze for 92";s.append(92)
        try: val=' '.join(self.french.transduce(prepare_input(93)));self.assertEqual(val, "quatre vingt treize")
        except: print "got "+val+", expected: quatre vingt treize for 93";s.append(93)
        try: val=' '.join(self.french.transduce(prepare_input(94)));self.assertEqual(val, "quatre vingt quatorze")
        except: print "got "+val+", expected: quatre vingt quatorze for 94";s.append(94)
        try: val=' '.join(self.french.transduce(prepare_input(95)));self.assertEqual(val, "quatre vingt quinze")
        except: print "got "+val+", expected: quatre vingt quinze for 95";s.append(95)
        try: val=' '.join(self.french.transduce(prepare_input(96)));self.assertEqual(val, "quatre vingt seize")
        except: print "got "+val+", expected: quatre vingt seize for 96";s.append(96)
        try: val=' '.join(self.french.transduce(prepare_input(97)));self.assertEqual(val, "quatre vingt dix sept")
        except: print "got "+val+", expected: quatre vingt dix sept for 97";s.append(97)
        try: val=' '.join(self.french.transduce(prepare_input(98)));self.assertEqual(val, "quatre vingt dix huit")
        except: print "got "+val+", expected: quatre vingt dix huit for 98";s.append(98)
        try: val=' '.join(self.french.transduce(prepare_input(99)));self.assertEqual(val, "quatre vingt dix neuf")
        except: print "got "+val+", expected: quatre vingt dix neuf for 99";s.append(99)
        try: val=' '.join(self.french.transduce(prepare_input(100)));self.assertEqual(val, "cent")
        except: print "got "+val+", expected: cent  for 100";s.append(100)
        try: val=' '.join(self.french.transduce(prepare_input(101)));self.assertEqual(val, "cent un")
        except: print "got "+val+", expected: cent un for 101";s.append(101)
        try: val=' '.join(self.french.transduce(prepare_input(102)));self.assertEqual(val, "cent deux")
        except: print "got "+val+", expected: cent deux for 102";s.append(102)
        try: val=' '.join(self.french.transduce(prepare_input(103)));self.assertEqual(val, "cent trois")
        except: print "got "+val+", expected: cent trois for 103";s.append(103)
        try: val=' '.join(self.french.transduce(prepare_input(104)));self.assertEqual(val, "cent quatre")
        except: print "got "+val+", expected: cent quatre for 104";s.append(104)
        try: val=' '.join(self.french.transduce(prepare_input(105)));self.assertEqual(val, "cent cinq")
        except: print "got "+val+", expected: cent cinq for 105";s.append(105)
        try: val=' '.join(self.french.transduce(prepare_input(106)));self.assertEqual(val, "cent six")
        except: print "got "+val+", expected: cent six for 106";s.append(106)
        try: val=' '.join(self.french.transduce(prepare_input(107)));self.assertEqual(val, "cent sept")
        except: print "got "+val+", expected: cent sept for 107";s.append(107)
        try: val=' '.join(self.french.transduce(prepare_input(108)));self.assertEqual(val, "cent huit")
        except: print "got "+val+", expected: cent huit for 108";s.append(108)
        try: val=' '.join(self.french.transduce(prepare_input(109)));self.assertEqual(val, "cent neuf")
        except: print "got "+val+", expected: cent neuf for 109";s.append(109)
        try: val=' '.join(self.french.transduce(prepare_input(110)));self.assertEqual(val, "cent dix")
        except: print "got "+val+", expected: cent dix for 110";s.append(110)
        try: val=' '.join(self.french.transduce(prepare_input(111)));self.assertEqual(val, "cent onze")
        except: print "got "+val+", expected: cent onze for 111";s.append(111)
        try: val=' '.join(self.french.transduce(prepare_input(112)));self.assertEqual(val, "cent douze")
        except: print "got "+val+", expected: cent douze for 112";s.append(112)
        try: val=' '.join(self.french.transduce(prepare_input(113)));self.assertEqual(val, "cent treize")
        except: print "got "+val+", expected: cent treize for 113";s.append(113)
        try: val=' '.join(self.french.transduce(prepare_input(114)));self.assertEqual(val, "cent quatorze")
        except: print "got "+val+", expected: cent quatorze for 114";s.append(114)
        try: val=' '.join(self.french.transduce(prepare_input(115)));self.assertEqual(val, "cent quinze")
        except: print "got "+val+", expected: cent quinze for 115";s.append(115)
        try: val=' '.join(self.french.transduce(prepare_input(116)));self.assertEqual(val, "cent seize")
        except: print "got "+val+", expected: cent seize for 116";s.append(116)
        try: val=' '.join(self.french.transduce(prepare_input(117)));self.assertEqual(val, "cent dix sept")
        except: print "got "+val+", expected: cent dix sept for 117";s.append(117)
        try: val=' '.join(self.french.transduce(prepare_input(118)));self.assertEqual(val, "cent dix huit")
        except: print "got "+val+", expected: cent dix huit for 118";s.append(118)
        try: val=' '.join(self.french.transduce(prepare_input(119)));self.assertEqual(val, "cent dix neuf")
        except: print "got "+val+", expected: cent dix neuf for 119";s.append(119)
        try: val=' '.join(self.french.transduce(prepare_input(120)));self.assertEqual(val, "cent vingt")
        except: print "got "+val+", expected: cent vingt for 120";s.append(120)
        try: val=' '.join(self.french.transduce(prepare_input(121)));self.assertEqual(val, "cent vingt et un")
        except: print "got "+val+", expected: cent vingt et un for 121";s.append(121)
        try: val=' '.join(self.french.transduce(prepare_input(122)));self.assertEqual(val, "cent vingt deux")
        except: print "got "+val+", expected: cent vingt deux for 122";s.append(122)
        try: val=' '.join(self.french.transduce(prepare_input(123)));self.assertEqual(val, "cent vingt trois")
        except: print "got "+val+", expected: cent vingt trois for 123";s.append(123)
        try: val=' '.join(self.french.transduce(prepare_input(124)));self.assertEqual(val, "cent vingt quatre")
        except: print "got "+val+", expected: cent vingt quatre for 124";s.append(124)
        try: val=' '.join(self.french.transduce(prepare_input(125)));self.assertEqual(val, "cent vingt cinq")
        except: print "got "+val+", expected: cent vingt cinq for 125";s.append(125)
        try: val=' '.join(self.french.transduce(prepare_input(126)));self.assertEqual(val, "cent vingt six")
        except: print "got "+val+", expected: cent vingt six for 126";s.append(126)
        try: val=' '.join(self.french.transduce(prepare_input(127)));self.assertEqual(val, "cent vingt sept")
        except: print "got "+val+", expected: cent vingt sept for 127";s.append(127)
        try: val=' '.join(self.french.transduce(prepare_input(128)));self.assertEqual(val, "cent vingt huit")
        except: print "got "+val+", expected: cent vingt huit for 128";s.append(128)
        try: val=' '.join(self.french.transduce(prepare_input(129)));self.assertEqual(val, "cent vingt neuf")
        except: print "got "+val+", expected: cent vingt neuf for 129";s.append(129)
        try: val=' '.join(self.french.transduce(prepare_input(130)));self.assertEqual(val, "cent trente")
        except: print "got "+val+", expected: cent trente for 130";s.append(130)
        try: val=' '.join(self.french.transduce(prepare_input(131)));self.assertEqual(val, "cent trente et un")
        except: print "got "+val+", expected: cent trente et un for 131";s.append(131)
        try: val=' '.join(self.french.transduce(prepare_input(132)));self.assertEqual(val, "cent trente deux")
        except: print "got "+val+", expected: cent trente deux for 132";s.append(132)
        try: val=' '.join(self.french.transduce(prepare_input(133)));self.assertEqual(val, "cent trente trois")
        except: print "got "+val+", expected: cent trente trois for 133";s.append(133)
        try: val=' '.join(self.french.transduce(prepare_input(134)));self.assertEqual(val, "cent trente quatre")
        except: print "got "+val+", expected: cent trente quatre for 134";s.append(134)
        try: val=' '.join(self.french.transduce(prepare_input(135)));self.assertEqual(val, "cent trente cinq")
        except: print "got "+val+", expected: cent trente cinq for 135";s.append(135)
        try: val=' '.join(self.french.transduce(prepare_input(136)));self.assertEqual(val, "cent trente six")
        except: print "got "+val+", expected: cent trente six for 136";s.append(136)
        try: val=' '.join(self.french.transduce(prepare_input(137)));self.assertEqual(val, "cent trente sept")
        except: print "got "+val+", expected: cent trente sept for 137";s.append(137)
        try: val=' '.join(self.french.transduce(prepare_input(138)));self.assertEqual(val, "cent trente huit")
        except: print "got "+val+", expected: cent trente huit for 138";s.append(138)
        try: val=' '.join(self.french.transduce(prepare_input(139)));self.assertEqual(val, "cent trente neuf")
        except: print "got "+val+", expected: cent trente neuf for 139";s.append(139)
        try: val=' '.join(self.french.transduce(prepare_input(140)));self.assertEqual(val, "cent quarante")
        except: print "got "+val+", expected: cent quarante for 140";s.append(140)
        try: val=' '.join(self.french.transduce(prepare_input(141)));self.assertEqual(val, "cent quarante et un")
        except: print "got "+val+", expected: cent quarante et un for 141";s.append(141)
        try: val=' '.join(self.french.transduce(prepare_input(142)));self.assertEqual(val, "cent quarante deux")
        except: print "got "+val+", expected: cent quarante deux for 142";s.append(142)
        try: val=' '.join(self.french.transduce(prepare_input(143)));self.assertEqual(val, "cent quarante trois")
        except: print "got "+val+", expected: cent quarante trois for 143";s.append(143)
        try: val=' '.join(self.french.transduce(prepare_input(144)));self.assertEqual(val, "cent quarante quatre")
        except: print "got "+val+", expected: cent quarante quatre for 144";s.append(144)
        try: val=' '.join(self.french.transduce(prepare_input(145)));self.assertEqual(val, "cent quarante cinq")
        except: print "got "+val+", expected: cent quarante cinq for 145";s.append(145)
        try: val=' '.join(self.french.transduce(prepare_input(146)));self.assertEqual(val, "cent quarante six")
        except: print "got "+val+", expected: cent quarante six for 146";s.append(146)
        try: val=' '.join(self.french.transduce(prepare_input(147)));self.assertEqual(val, "cent quarante sept")
        except: print "got "+val+", expected: cent quarante sept for 147";s.append(147)
        try: val=' '.join(self.french.transduce(prepare_input(148)));self.assertEqual(val, "cent quarante huit")
        except: print "got "+val+", expected: cent quarante huit for 148";s.append(148)
        try: val=' '.join(self.french.transduce(prepare_input(149)));self.assertEqual(val, "cent quarante neuf")
        except: print "got "+val+", expected: cent quarante neuf for 149";s.append(149)
        try: val=' '.join(self.french.transduce(prepare_input(150)));self.assertEqual(val, "cent cinquante")
        except: print "got "+val+", expected: cent cinquante for 150";s.append(150)
        try: val=' '.join(self.french.transduce(prepare_input(151)));self.assertEqual(val, "cent cinquante et un")
        except: print "got "+val+", expected: cent cinquante et un for 151";s.append(151)
        try: val=' '.join(self.french.transduce(prepare_input(152)));self.assertEqual(val, "cent cinquante deux")
        except: print "got "+val+", expected: cent cinquante deux for 152";s.append(152)
        try: val=' '.join(self.french.transduce(prepare_input(153)));self.assertEqual(val, "cent cinquante trois")
        except: print "got "+val+", expected: cent cinquante trois for 153";s.append(153)
        try: val=' '.join(self.french.transduce(prepare_input(154)));self.assertEqual(val, "cent cinquante quatre")
        except: print "got "+val+", expected: cent cinquante quatre for 154";s.append(154)
        try: val=' '.join(self.french.transduce(prepare_input(155)));self.assertEqual(val, "cent cinquante cinq")
        except: print "got "+val+", expected: cent cinquante cinq for 155";s.append(155)
        try: val=' '.join(self.french.transduce(prepare_input(156)));self.assertEqual(val, "cent cinquante six")
        except: print "got "+val+", expected: cent cinquante six for 156";s.append(156)
        try: val=' '.join(self.french.transduce(prepare_input(157)));self.assertEqual(val, "cent cinquante sept")
        except: print "got "+val+", expected: cent cinquante sept for 157";s.append(157)
        try: val=' '.join(self.french.transduce(prepare_input(158)));self.assertEqual(val, "cent cinquante huit")
        except: print "got "+val+", expected: cent cinquante huit for 158";s.append(158)
        try: val=' '.join(self.french.transduce(prepare_input(159)));self.assertEqual(val, "cent cinquante neuf")
        except: print "got "+val+", expected: cent cinquante neuf for 159";s.append(159)
        try: val=' '.join(self.french.transduce(prepare_input(160)));self.assertEqual(val, "cent soixante")
        except: print "got "+val+", expected: cent soixante for 160";s.append(160)
        try: val=' '.join(self.french.transduce(prepare_input(161)));self.assertEqual(val, "cent soixante et un")
        except: print "got "+val+", expected: cent soixante et un for 161";s.append(161)
        try: val=' '.join(self.french.transduce(prepare_input(162)));self.assertEqual(val, "cent soixante deux")
        except: print "got "+val+", expected: cent soixante deux for 162";s.append(162)
        try: val=' '.join(self.french.transduce(prepare_input(163)));self.assertEqual(val, "cent soixante trois")
        except: print "got "+val+", expected: cent soixante trois for 163";s.append(163)
        try: val=' '.join(self.french.transduce(prepare_input(164)));self.assertEqual(val, "cent soixante quatre")
        except: print "got "+val+", expected: cent soixante quatre for 164";s.append(164)
        try: val=' '.join(self.french.transduce(prepare_input(165)));self.assertEqual(val, "cent soixante cinq")
        except: print "got "+val+", expected: cent soixante cinq for 165";s.append(165)
        try: val=' '.join(self.french.transduce(prepare_input(166)));self.assertEqual(val, "cent soixante six")
        except: print "got "+val+", expected: cent soixante six for 166";s.append(166)
        try: val=' '.join(self.french.transduce(prepare_input(167)));self.assertEqual(val, "cent soixante sept")
        except: print "got "+val+", expected: cent soixante sept for 167";s.append(167)
        try: val=' '.join(self.french.transduce(prepare_input(168)));self.assertEqual(val, "cent soixante huit")
        except: print "got "+val+", expected: cent soixante huit for 168";s.append(168)
        try: val=' '.join(self.french.transduce(prepare_input(169)));self.assertEqual(val, "cent soixante neuf")
        except: print "got "+val+", expected: cent soixante neuf for 169";s.append(169)
        try: val=' '.join(self.french.transduce(prepare_input(170)));self.assertEqual(val, "cent soixante dix")
        except: print "got "+val+", expected: cent soixante dix for 170";s.append(170)
        try: val=' '.join(self.french.transduce(prepare_input(171)));self.assertEqual(val, "cent soixante et onze")
        except: print "got "+val+", expected: cent soixante et onze for 171";s.append(171)
        try: val=' '.join(self.french.transduce(prepare_input(172)));self.assertEqual(val, "cent soixante douze")
        except: print "got "+val+", expected: cent soixante douze for 172";s.append(172)
        try: val=' '.join(self.french.transduce(prepare_input(173)));self.assertEqual(val, "cent soixante treize")
        except: print "got "+val+", expected: cent soixante treize for 173";s.append(173)
        try: val=' '.join(self.french.transduce(prepare_input(174)));self.assertEqual(val, "cent soixante quatorze")
        except: print "got "+val+", expected: cent soixante quatorze for 174";s.append(174)
        try: val=' '.join(self.french.transduce(prepare_input(175)));self.assertEqual(val, "cent soixante quinze")
        except: print "got "+val+", expected: cent soixante quinze for 175";s.append(175)
        try: val=' '.join(self.french.transduce(prepare_input(176)));self.assertEqual(val, "cent soixante seize")
        except: print "got "+val+", expected: cent soixante seize for 176";s.append(176)
        try: val=' '.join(self.french.transduce(prepare_input(177)));self.assertEqual(val, "cent soixante dix sept")
        except: print "got "+val+", expected: cent soixante dix sept for 177";s.append(177)
        try: val=' '.join(self.french.transduce(prepare_input(178)));self.assertEqual(val, "cent soixante dix huit")
        except: print "got "+val+", expected: cent soixante dix huit for 178";s.append(178)
        try: val=' '.join(self.french.transduce(prepare_input(179)));self.assertEqual(val, "cent soixante dix neuf")
        except: print "got "+val+", expected: cent soixante dix neuf for 179";s.append(179)
        try: val=' '.join(self.french.transduce(prepare_input(180)));self.assertEqual(val, "cent quatre vingt")
        except: print "got "+val+", expected: cent quatre vingt for 180";s.append(180)
        try: val=' '.join(self.french.transduce(prepare_input(181)));self.assertEqual(val, "cent quatre vingt un")
        except: print "got "+val+", expected: cent quatre vingt un for 181";s.append(181)
        try: val=' '.join(self.french.transduce(prepare_input(182)));self.assertEqual(val, "cent quatre vingt deux")
        except: print "got "+val+", expected: cent quatre vingt deux for 182";s.append(182)
        try: val=' '.join(self.french.transduce(prepare_input(183)));self.assertEqual(val, "cent quatre vingt trois")
        except: print "got "+val+", expected: cent quatre vingt trois for 183";s.append(183)
        try: val=' '.join(self.french.transduce(prepare_input(184)));self.assertEqual(val, "cent quatre vingt quatre")
        except: print "got "+val+", expected: cent quatre vingt quatre for 184";s.append(184)
        try: val=' '.join(self.french.transduce(prepare_input(185)));self.assertEqual(val, "cent quatre vingt cinq")
        except: print "got "+val+", expected: cent quatre vingt cinq for 185";s.append(185)
        try: val=' '.join(self.french.transduce(prepare_input(186)));self.assertEqual(val, "cent quatre vingt six")
        except: print "got "+val+", expected: cent quatre vingt six for 186";s.append(186)
        try: val=' '.join(self.french.transduce(prepare_input(187)));self.assertEqual(val, "cent quatre vingt sept")
        except: print "got "+val+", expected: cent quatre vingt sept for 187";s.append(187)
        try: val=' '.join(self.french.transduce(prepare_input(188)));self.assertEqual(val, "cent quatre vingt huit")
        except: print "got "+val+", expected: cent quatre vingt huit for 188";s.append(188)
        try: val=' '.join(self.french.transduce(prepare_input(189)));self.assertEqual(val, "cent quatre vingt neuf")
        except: print "got "+val+", expected: cent quatre vingt neuf for 189";s.append(189)
        try: val=' '.join(self.french.transduce(prepare_input(190)));self.assertEqual(val, "cent quatre vingt dix")
        except: print "got "+val+", expected: cent quatre vingt dix for 190";s.append(190)
        try: val=' '.join(self.french.transduce(prepare_input(191)));self.assertEqual(val, "cent quatre vingt onze")
        except: print "got "+val+", expected: cent quatre vingt onze for 191";s.append(191)
        try: val=' '.join(self.french.transduce(prepare_input(192)));self.assertEqual(val, "cent quatre vingt douze")
        except: print "got "+val+", expected: cent quatre vingt douze for 192";s.append(192)
        try: val=' '.join(self.french.transduce(prepare_input(193)));self.assertEqual(val, "cent quatre vingt treize")
        except: print "got "+val+", expected: cent quatre vingt treize for 193";s.append(193)
        try: val=' '.join(self.french.transduce(prepare_input(194)));self.assertEqual(val, "cent quatre vingt quatorze")
        except: print "got "+val+", expected: cent quatre vingt quatorze for 194";s.append(194)
        try: val=' '.join(self.french.transduce(prepare_input(195)));self.assertEqual(val, "cent quatre vingt quinze")
        except: print "got "+val+", expected: cent quatre vingt quinze for 195";s.append(195)
        try: val=' '.join(self.french.transduce(prepare_input(196)));self.assertEqual(val, "cent quatre vingt seize")
        except: print "got "+val+", expected: cent quatre vingt seize for 196";s.append(196)
        try: val=' '.join(self.french.transduce(prepare_input(197)));self.assertEqual(val, "cent quatre vingt dix sept")
        except: print "got "+val+", expected: cent quatre vingt dix sept for 197";s.append(197)
        try: val=' '.join(self.french.transduce(prepare_input(198)));self.assertEqual(val, "cent quatre vingt dix huit")
        except: print "got "+val+", expected: cent quatre vingt dix huit for 198";s.append(198)
        try: val=' '.join(self.french.transduce(prepare_input(199)));self.assertEqual(val, "cent quatre vingt dix neuf")
        except: print "got "+val+", expected: cent quatre vingt dix neuf for 199";s.append(199)
        try: val=' '.join(self.french.transduce(prepare_input(200)));self.assertEqual(val, "deux cent")
        except: print "got "+val+", expected: deux cent  for 200";s.append(200)
        try: val=' '.join(self.french.transduce(prepare_input(201)));self.assertEqual(val, "deux cent un")
        except: print "got "+val+", expected: deux cent un for 201";s.append(201)
        try: val=' '.join(self.french.transduce(prepare_input(202)));self.assertEqual(val, "deux cent deux")
        except: print "got "+val+", expected: deux cent deux for 202";s.append(202)
        try: val=' '.join(self.french.transduce(prepare_input(203)));self.assertEqual(val, "deux cent trois")
        except: print "got "+val+", expected: deux cent trois for 203";s.append(203)
        try: val=' '.join(self.french.transduce(prepare_input(204)));self.assertEqual(val, "deux cent quatre")
        except: print "got "+val+", expected: deux cent quatre for 204";s.append(204)
        try: val=' '.join(self.french.transduce(prepare_input(205)));self.assertEqual(val, "deux cent cinq")
        except: print "got "+val+", expected: deux cent cinq for 205";s.append(205)
        try: val=' '.join(self.french.transduce(prepare_input(206)));self.assertEqual(val, "deux cent six")
        except: print "got "+val+", expected: deux cent six for 206";s.append(206)
        try: val=' '.join(self.french.transduce(prepare_input(207)));self.assertEqual(val, "deux cent sept")
        except: print "got "+val+", expected: deux cent sept for 207";s.append(207)
        try: val=' '.join(self.french.transduce(prepare_input(208)));self.assertEqual(val, "deux cent huit")
        except: print "got "+val+", expected: deux cent huit for 208";s.append(208)
        try: val=' '.join(self.french.transduce(prepare_input(209)));self.assertEqual(val, "deux cent neuf")
        except: print "got "+val+", expected: deux cent neuf for 209";s.append(209)
        try: val=' '.join(self.french.transduce(prepare_input(210)));self.assertEqual(val, "deux cent dix")
        except: print "got "+val+", expected: deux cent dix for 210";s.append(210)
        try: val=' '.join(self.french.transduce(prepare_input(211)));self.assertEqual(val, "deux cent onze")
        except: print "got "+val+", expected: deux cent onze for 211";s.append(211)
        try: val=' '.join(self.french.transduce(prepare_input(212)));self.assertEqual(val, "deux cent douze")
        except: print "got "+val+", expected: deux cent douze for 212";s.append(212)
        try: val=' '.join(self.french.transduce(prepare_input(213)));self.assertEqual(val, "deux cent treize")
        except: print "got "+val+", expected: deux cent treize for 213";s.append(213)
        try: val=' '.join(self.french.transduce(prepare_input(214)));self.assertEqual(val, "deux cent quatorze")
        except: print "got "+val+", expected: deux cent quatorze for 214";s.append(214)
        try: val=' '.join(self.french.transduce(prepare_input(215)));self.assertEqual(val, "deux cent quinze")
        except: print "got "+val+", expected: deux cent quinze for 215";s.append(215)
        try: val=' '.join(self.french.transduce(prepare_input(216)));self.assertEqual(val, "deux cent seize")
        except: print "got "+val+", expected: deux cent seize for 216";s.append(216)
        try: val=' '.join(self.french.transduce(prepare_input(217)));self.assertEqual(val, "deux cent dix sept")
        except: print "got "+val+", expected: deux cent dix sept for 217";s.append(217)
        try: val=' '.join(self.french.transduce(prepare_input(218)));self.assertEqual(val, "deux cent dix huit")
        except: print "got "+val+", expected: deux cent dix huit for 218";s.append(218)
        try: val=' '.join(self.french.transduce(prepare_input(219)));self.assertEqual(val, "deux cent dix neuf")
        except: print "got "+val+", expected: deux cent dix neuf for 219";s.append(219)
        try: val=' '.join(self.french.transduce(prepare_input(220)));self.assertEqual(val, "deux cent vingt")
        except: print "got "+val+", expected: deux cent vingt for 220";s.append(220)
        try: val=' '.join(self.french.transduce(prepare_input(221)));self.assertEqual(val, "deux cent vingt et un")
        except: print "got "+val+", expected: deux cent vingt et un for 221";s.append(221)
        try: val=' '.join(self.french.transduce(prepare_input(222)));self.assertEqual(val, "deux cent vingt deux")
        except: print "got "+val+", expected: deux cent vingt deux for 222";s.append(222)
        try: val=' '.join(self.french.transduce(prepare_input(223)));self.assertEqual(val, "deux cent vingt trois")
        except: print "got "+val+", expected: deux cent vingt trois for 223";s.append(223)
        try: val=' '.join(self.french.transduce(prepare_input(224)));self.assertEqual(val, "deux cent vingt quatre")
        except: print "got "+val+", expected: deux cent vingt quatre for 224";s.append(224)
        try: val=' '.join(self.french.transduce(prepare_input(225)));self.assertEqual(val, "deux cent vingt cinq")
        except: print "got "+val+", expected: deux cent vingt cinq for 225";s.append(225)
        try: val=' '.join(self.french.transduce(prepare_input(226)));self.assertEqual(val, "deux cent vingt six")
        except: print "got "+val+", expected: deux cent vingt six for 226";s.append(226)
        try: val=' '.join(self.french.transduce(prepare_input(227)));self.assertEqual(val, "deux cent vingt sept")
        except: print "got "+val+", expected: deux cent vingt sept for 227";s.append(227)
        try: val=' '.join(self.french.transduce(prepare_input(228)));self.assertEqual(val, "deux cent vingt huit")
        except: print "got "+val+", expected: deux cent vingt huit for 228";s.append(228)
        try: val=' '.join(self.french.transduce(prepare_input(229)));self.assertEqual(val, "deux cent vingt neuf")
        except: print "got "+val+", expected: deux cent vingt neuf for 229";s.append(229)
        try: val=' '.join(self.french.transduce(prepare_input(230)));self.assertEqual(val, "deux cent trente")
        except: print "got "+val+", expected: deux cent trente for 230";s.append(230)
        try: val=' '.join(self.french.transduce(prepare_input(231)));self.assertEqual(val, "deux cent trente et un")
        except: print "got "+val+", expected: deux cent trente et un for 231";s.append(231)
        try: val=' '.join(self.french.transduce(prepare_input(232)));self.assertEqual(val, "deux cent trente deux")
        except: print "got "+val+", expected: deux cent trente deux for 232";s.append(232)
        try: val=' '.join(self.french.transduce(prepare_input(233)));self.assertEqual(val, "deux cent trente trois")
        except: print "got "+val+", expected: deux cent trente trois for 233";s.append(233)
        try: val=' '.join(self.french.transduce(prepare_input(234)));self.assertEqual(val, "deux cent trente quatre")
        except: print "got "+val+", expected: deux cent trente quatre for 234";s.append(234)
        try: val=' '.join(self.french.transduce(prepare_input(235)));self.assertEqual(val, "deux cent trente cinq")
        except: print "got "+val+", expected: deux cent trente cinq for 235";s.append(235)
        try: val=' '.join(self.french.transduce(prepare_input(236)));self.assertEqual(val, "deux cent trente six")
        except: print "got "+val+", expected: deux cent trente six for 236";s.append(236)
        try: val=' '.join(self.french.transduce(prepare_input(237)));self.assertEqual(val, "deux cent trente sept")
        except: print "got "+val+", expected: deux cent trente sept for 237";s.append(237)
        try: val=' '.join(self.french.transduce(prepare_input(238)));self.assertEqual(val, "deux cent trente huit")
        except: print "got "+val+", expected: deux cent trente huit for 238";s.append(238)
        try: val=' '.join(self.french.transduce(prepare_input(239)));self.assertEqual(val, "deux cent trente neuf")
        except: print "got "+val+", expected: deux cent trente neuf for 239";s.append(239)
        try: val=' '.join(self.french.transduce(prepare_input(240)));self.assertEqual(val, "deux cent quarante")
        except: print "got "+val+", expected: deux cent quarante for 240";s.append(240)
        try: val=' '.join(self.french.transduce(prepare_input(241)));self.assertEqual(val, "deux cent quarante et un")
        except: print "got "+val+", expected: deux cent quarante et un for 241";s.append(241)
        try: val=' '.join(self.french.transduce(prepare_input(242)));self.assertEqual(val, "deux cent quarante deux")
        except: print "got "+val+", expected: deux cent quarante deux for 242";s.append(242)
        try: val=' '.join(self.french.transduce(prepare_input(243)));self.assertEqual(val, "deux cent quarante trois")
        except: print "got "+val+", expected: deux cent quarante trois for 243";s.append(243)
        try: val=' '.join(self.french.transduce(prepare_input(244)));self.assertEqual(val, "deux cent quarante quatre")
        except: print "got "+val+", expected: deux cent quarante quatre for 244";s.append(244)
        try: val=' '.join(self.french.transduce(prepare_input(245)));self.assertEqual(val, "deux cent quarante cinq")
        except: print "got "+val+", expected: deux cent quarante cinq for 245";s.append(245)
        try: val=' '.join(self.french.transduce(prepare_input(246)));self.assertEqual(val, "deux cent quarante six")
        except: print "got "+val+", expected: deux cent quarante six for 246";s.append(246)
        try: val=' '.join(self.french.transduce(prepare_input(247)));self.assertEqual(val, "deux cent quarante sept")
        except: print "got "+val+", expected: deux cent quarante sept for 247";s.append(247)
        try: val=' '.join(self.french.transduce(prepare_input(248)));self.assertEqual(val, "deux cent quarante huit")
        except: print "got "+val+", expected: deux cent quarante huit for 248";s.append(248)
        try: val=' '.join(self.french.transduce(prepare_input(249)));self.assertEqual(val, "deux cent quarante neuf")
        except: print "got "+val+", expected: deux cent quarante neuf for 249";s.append(249)
        try: val=' '.join(self.french.transduce(prepare_input(250)));self.assertEqual(val, "deux cent cinquante")
        except: print "got "+val+", expected: deux cent cinquante for 250";s.append(250)
        try: val=' '.join(self.french.transduce(prepare_input(251)));self.assertEqual(val, "deux cent cinquante et un")
        except: print "got "+val+", expected: deux cent cinquante et un for 251";s.append(251)
        try: val=' '.join(self.french.transduce(prepare_input(252)));self.assertEqual(val, "deux cent cinquante deux")
        except: print "got "+val+", expected: deux cent cinquante deux for 252";s.append(252)
        try: val=' '.join(self.french.transduce(prepare_input(253)));self.assertEqual(val, "deux cent cinquante trois")
        except: print "got "+val+", expected: deux cent cinquante trois for 253";s.append(253)
        try: val=' '.join(self.french.transduce(prepare_input(254)));self.assertEqual(val, "deux cent cinquante quatre")
        except: print "got "+val+", expected: deux cent cinquante quatre for 254";s.append(254)
        try: val=' '.join(self.french.transduce(prepare_input(255)));self.assertEqual(val, "deux cent cinquante cinq")
        except: print "got "+val+", expected: deux cent cinquante cinq for 255";s.append(255)
        try: val=' '.join(self.french.transduce(prepare_input(256)));self.assertEqual(val, "deux cent cinquante six")
        except: print "got "+val+", expected: deux cent cinquante six for 256";s.append(256)
        try: val=' '.join(self.french.transduce(prepare_input(257)));self.assertEqual(val, "deux cent cinquante sept")
        except: print "got "+val+", expected: deux cent cinquante sept for 257";s.append(257)
        try: val=' '.join(self.french.transduce(prepare_input(258)));self.assertEqual(val, "deux cent cinquante huit")
        except: print "got "+val+", expected: deux cent cinquante huit for 258";s.append(258)
        try: val=' '.join(self.french.transduce(prepare_input(259)));self.assertEqual(val, "deux cent cinquante neuf")
        except: print "got "+val+", expected: deux cent cinquante neuf for 259";s.append(259)
        try: val=' '.join(self.french.transduce(prepare_input(260)));self.assertEqual(val, "deux cent soixante")
        except: print "got "+val+", expected: deux cent soixante for 260";s.append(260)
        try: val=' '.join(self.french.transduce(prepare_input(261)));self.assertEqual(val, "deux cent soixante et un")
        except: print "got "+val+", expected: deux cent soixante et un for 261";s.append(261)
        try: val=' '.join(self.french.transduce(prepare_input(262)));self.assertEqual(val, "deux cent soixante deux")
        except: print "got "+val+", expected: deux cent soixante deux for 262";s.append(262)
        try: val=' '.join(self.french.transduce(prepare_input(263)));self.assertEqual(val, "deux cent soixante trois")
        except: print "got "+val+", expected: deux cent soixante trois for 263";s.append(263)
        try: val=' '.join(self.french.transduce(prepare_input(264)));self.assertEqual(val, "deux cent soixante quatre")
        except: print "got "+val+", expected: deux cent soixante quatre for 264";s.append(264)
        try: val=' '.join(self.french.transduce(prepare_input(265)));self.assertEqual(val, "deux cent soixante cinq")
        except: print "got "+val+", expected: deux cent soixante cinq for 265";s.append(265)
        try: val=' '.join(self.french.transduce(prepare_input(266)));self.assertEqual(val, "deux cent soixante six")
        except: print "got "+val+", expected: deux cent soixante six for 266";s.append(266)
        try: val=' '.join(self.french.transduce(prepare_input(267)));self.assertEqual(val, "deux cent soixante sept")
        except: print "got "+val+", expected: deux cent soixante sept for 267";s.append(267)
        try: val=' '.join(self.french.transduce(prepare_input(268)));self.assertEqual(val, "deux cent soixante huit")
        except: print "got "+val+", expected: deux cent soixante huit for 268";s.append(268)
        try: val=' '.join(self.french.transduce(prepare_input(269)));self.assertEqual(val, "deux cent soixante neuf")
        except: print "got "+val+", expected: deux cent soixante neuf for 269";s.append(269)
        try: val=' '.join(self.french.transduce(prepare_input(270)));self.assertEqual(val, "deux cent soixante dix")
        except: print "got "+val+", expected: deux cent soixante dix for 270";s.append(270)
        try: val=' '.join(self.french.transduce(prepare_input(271)));self.assertEqual(val, "deux cent soixante et onze")
        except: print "got "+val+", expected: deux cent soixante et onze for 271";s.append(271)
        try: val=' '.join(self.french.transduce(prepare_input(272)));self.assertEqual(val, "deux cent soixante douze")
        except: print "got "+val+", expected: deux cent soixante douze for 272";s.append(272)
        try: val=' '.join(self.french.transduce(prepare_input(273)));self.assertEqual(val, "deux cent soixante treize")
        except: print "got "+val+", expected: deux cent soixante treize for 273";s.append(273)
        try: val=' '.join(self.french.transduce(prepare_input(274)));self.assertEqual(val, "deux cent soixante quatorze")
        except: print "got "+val+", expected: deux cent soixante quatorze for 274";s.append(274)
        try: val=' '.join(self.french.transduce(prepare_input(275)));self.assertEqual(val, "deux cent soixante quinze")
        except: print "got "+val+", expected: deux cent soixante quinze for 275";s.append(275)
        try: val=' '.join(self.french.transduce(prepare_input(276)));self.assertEqual(val, "deux cent soixante seize")
        except: print "got "+val+", expected: deux cent soixante seize for 276";s.append(276)
        try: val=' '.join(self.french.transduce(prepare_input(277)));self.assertEqual(val, "deux cent soixante dix sept")
        except: print "got "+val+", expected: deux cent soixante dix sept for 277";s.append(277)
        try: val=' '.join(self.french.transduce(prepare_input(278)));self.assertEqual(val, "deux cent soixante dix huit")
        except: print "got "+val+", expected: deux cent soixante dix huit for 278";s.append(278)
        try: val=' '.join(self.french.transduce(prepare_input(279)));self.assertEqual(val, "deux cent soixante dix neuf")
        except: print "got "+val+", expected: deux cent soixante dix neuf for 279";s.append(279)
        try: val=' '.join(self.french.transduce(prepare_input(280)));self.assertEqual(val, "deux cent quatre vingt")
        except: print "got "+val+", expected: deux cent quatre vingt for 280";s.append(280)
        try: val=' '.join(self.french.transduce(prepare_input(281)));self.assertEqual(val, "deux cent quatre vingt un")
        except: print "got "+val+", expected: deux cent quatre vingt un for 281";s.append(281)
        try: val=' '.join(self.french.transduce(prepare_input(282)));self.assertEqual(val, "deux cent quatre vingt deux")
        except: print "got "+val+", expected: deux cent quatre vingt deux for 282";s.append(282)
        try: val=' '.join(self.french.transduce(prepare_input(283)));self.assertEqual(val, "deux cent quatre vingt trois")
        except: print "got "+val+", expected: deux cent quatre vingt trois for 283";s.append(283)
        try: val=' '.join(self.french.transduce(prepare_input(284)));self.assertEqual(val, "deux cent quatre vingt quatre")
        except: print "got "+val+", expected: deux cent quatre vingt quatre for 284";s.append(284)
        try: val=' '.join(self.french.transduce(prepare_input(285)));self.assertEqual(val, "deux cent quatre vingt cinq")
        except: print "got "+val+", expected: deux cent quatre vingt cinq for 285";s.append(285)
        try: val=' '.join(self.french.transduce(prepare_input(286)));self.assertEqual(val, "deux cent quatre vingt six")
        except: print "got "+val+", expected: deux cent quatre vingt six for 286";s.append(286)
        try: val=' '.join(self.french.transduce(prepare_input(287)));self.assertEqual(val, "deux cent quatre vingt sept")
        except: print "got "+val+", expected: deux cent quatre vingt sept for 287";s.append(287)
        try: val=' '.join(self.french.transduce(prepare_input(288)));self.assertEqual(val, "deux cent quatre vingt huit")
        except: print "got "+val+", expected: deux cent quatre vingt huit for 288";s.append(288)
        try: val=' '.join(self.french.transduce(prepare_input(289)));self.assertEqual(val, "deux cent quatre vingt neuf")
        except: print "got "+val+", expected: deux cent quatre vingt neuf for 289";s.append(289)
        try: val=' '.join(self.french.transduce(prepare_input(290)));self.assertEqual(val, "deux cent quatre vingt dix")
        except: print "got "+val+", expected: deux cent quatre vingt dix for 290";s.append(290)
        try: val=' '.join(self.french.transduce(prepare_input(291)));self.assertEqual(val, "deux cent quatre vingt onze")
        except: print "got "+val+", expected: deux cent quatre vingt onze for 291";s.append(291)
        try: val=' '.join(self.french.transduce(prepare_input(292)));self.assertEqual(val, "deux cent quatre vingt douze")
        except: print "got "+val+", expected: deux cent quatre vingt douze for 292";s.append(292)
        try: val=' '.join(self.french.transduce(prepare_input(293)));self.assertEqual(val, "deux cent quatre vingt treize")
        except: print "got "+val+", expected: deux cent quatre vingt treize for 293";s.append(293)
        try: val=' '.join(self.french.transduce(prepare_input(294)));self.assertEqual(val, "deux cent quatre vingt quatorze")
        except: print "got "+val+", expected: deux cent quatre vingt quatorze for 294";s.append(294)
        try: val=' '.join(self.french.transduce(prepare_input(295)));self.assertEqual(val, "deux cent quatre vingt quinze")
        except: print "got "+val+", expected: deux cent quatre vingt quinze for 295";s.append(295)
        try: val=' '.join(self.french.transduce(prepare_input(296)));self.assertEqual(val, "deux cent quatre vingt seize")
        except: print "got "+val+", expected: deux cent quatre vingt seize for 296";s.append(296)
        try: val=' '.join(self.french.transduce(prepare_input(297)));self.assertEqual(val, "deux cent quatre vingt dix sept")
        except: print "got "+val+", expected: deux cent quatre vingt dix sept for 297";s.append(297)
        try: val=' '.join(self.french.transduce(prepare_input(298)));self.assertEqual(val, "deux cent quatre vingt dix huit")
        except: print "got "+val+", expected: deux cent quatre vingt dix huit for 298";s.append(298)
        try: val=' '.join(self.french.transduce(prepare_input(299)));self.assertEqual(val, "deux cent quatre vingt dix neuf")
        except: print "got "+val+", expected: deux cent quatre vingt dix neuf for 299";s.append(299)
        try: val=' '.join(self.french.transduce(prepare_input(300)));self.assertEqual(val, "trois cent")
        except: print "got "+val+", expected: trois cent  for 300";s.append(300)
        try: val=' '.join(self.french.transduce(prepare_input(301)));self.assertEqual(val, "trois cent un")
        except: print "got "+val+", expected: trois cent un for 301";s.append(301)
        try: val=' '.join(self.french.transduce(prepare_input(302)));self.assertEqual(val, "trois cent deux")
        except: print "got "+val+", expected: trois cent deux for 302";s.append(302)
        try: val=' '.join(self.french.transduce(prepare_input(303)));self.assertEqual(val, "trois cent trois")
        except: print "got "+val+", expected: trois cent trois for 303";s.append(303)
        try: val=' '.join(self.french.transduce(prepare_input(304)));self.assertEqual(val, "trois cent quatre")
        except: print "got "+val+", expected: trois cent quatre for 304";s.append(304)
        try: val=' '.join(self.french.transduce(prepare_input(305)));self.assertEqual(val, "trois cent cinq")
        except: print "got "+val+", expected: trois cent cinq for 305";s.append(305)
        try: val=' '.join(self.french.transduce(prepare_input(306)));self.assertEqual(val, "trois cent six")
        except: print "got "+val+", expected: trois cent six for 306";s.append(306)
        try: val=' '.join(self.french.transduce(prepare_input(307)));self.assertEqual(val, "trois cent sept")
        except: print "got "+val+", expected: trois cent sept for 307";s.append(307)
        try: val=' '.join(self.french.transduce(prepare_input(308)));self.assertEqual(val, "trois cent huit")
        except: print "got "+val+", expected: trois cent huit for 308";s.append(308)
        try: val=' '.join(self.french.transduce(prepare_input(309)));self.assertEqual(val, "trois cent neuf")
        except: print "got "+val+", expected: trois cent neuf for 309";s.append(309)
        try: val=' '.join(self.french.transduce(prepare_input(310)));self.assertEqual(val, "trois cent dix")
        except: print "got "+val+", expected: trois cent dix for 310";s.append(310)
        try: val=' '.join(self.french.transduce(prepare_input(311)));self.assertEqual(val, "trois cent onze")
        except: print "got "+val+", expected: trois cent onze for 311";s.append(311)
        try: val=' '.join(self.french.transduce(prepare_input(312)));self.assertEqual(val, "trois cent douze")
        except: print "got "+val+", expected: trois cent douze for 312";s.append(312)
        try: val=' '.join(self.french.transduce(prepare_input(313)));self.assertEqual(val, "trois cent treize")
        except: print "got "+val+", expected: trois cent treize for 313";s.append(313)
        try: val=' '.join(self.french.transduce(prepare_input(314)));self.assertEqual(val, "trois cent quatorze")
        except: print "got "+val+", expected: trois cent quatorze for 314";s.append(314)
        try: val=' '.join(self.french.transduce(prepare_input(315)));self.assertEqual(val, "trois cent quinze")
        except: print "got "+val+", expected: trois cent quinze for 315";s.append(315)
        try: val=' '.join(self.french.transduce(prepare_input(316)));self.assertEqual(val, "trois cent seize")
        except: print "got "+val+", expected: trois cent seize for 316";s.append(316)
        try: val=' '.join(self.french.transduce(prepare_input(317)));self.assertEqual(val, "trois cent dix sept")
        except: print "got "+val+", expected: trois cent dix sept for 317";s.append(317)
        try: val=' '.join(self.french.transduce(prepare_input(318)));self.assertEqual(val, "trois cent dix huit")
        except: print "got "+val+", expected: trois cent dix huit for 318";s.append(318)
        try: val=' '.join(self.french.transduce(prepare_input(319)));self.assertEqual(val, "trois cent dix neuf")
        except: print "got "+val+", expected: trois cent dix neuf for 319";s.append(319)
        try: val=' '.join(self.french.transduce(prepare_input(320)));self.assertEqual(val, "trois cent vingt")
        except: print "got "+val+", expected: trois cent vingt for 320";s.append(320)
        try: val=' '.join(self.french.transduce(prepare_input(321)));self.assertEqual(val, "trois cent vingt et un")
        except: print "got "+val+", expected: trois cent vingt et un for 321";s.append(321)
        try: val=' '.join(self.french.transduce(prepare_input(322)));self.assertEqual(val, "trois cent vingt deux")
        except: print "got "+val+", expected: trois cent vingt deux for 322";s.append(322)
        try: val=' '.join(self.french.transduce(prepare_input(323)));self.assertEqual(val, "trois cent vingt trois")
        except: print "got "+val+", expected: trois cent vingt trois for 323";s.append(323)
        try: val=' '.join(self.french.transduce(prepare_input(324)));self.assertEqual(val, "trois cent vingt quatre")
        except: print "got "+val+", expected: trois cent vingt quatre for 324";s.append(324)
        try: val=' '.join(self.french.transduce(prepare_input(325)));self.assertEqual(val, "trois cent vingt cinq")
        except: print "got "+val+", expected: trois cent vingt cinq for 325";s.append(325)
        try: val=' '.join(self.french.transduce(prepare_input(326)));self.assertEqual(val, "trois cent vingt six")
        except: print "got "+val+", expected: trois cent vingt six for 326";s.append(326)
        try: val=' '.join(self.french.transduce(prepare_input(327)));self.assertEqual(val, "trois cent vingt sept")
        except: print "got "+val+", expected: trois cent vingt sept for 327";s.append(327)
        try: val=' '.join(self.french.transduce(prepare_input(328)));self.assertEqual(val, "trois cent vingt huit")
        except: print "got "+val+", expected: trois cent vingt huit for 328";s.append(328)
        try: val=' '.join(self.french.transduce(prepare_input(329)));self.assertEqual(val, "trois cent vingt neuf")
        except: print "got "+val+", expected: trois cent vingt neuf for 329";s.append(329)
        try: val=' '.join(self.french.transduce(prepare_input(330)));self.assertEqual(val, "trois cent trente")
        except: print "got "+val+", expected: trois cent trente for 330";s.append(330)
        try: val=' '.join(self.french.transduce(prepare_input(331)));self.assertEqual(val, "trois cent trente et un")
        except: print "got "+val+", expected: trois cent trente et un for 331";s.append(331)
        try: val=' '.join(self.french.transduce(prepare_input(332)));self.assertEqual(val, "trois cent trente deux")
        except: print "got "+val+", expected: trois cent trente deux for 332";s.append(332)
        try: val=' '.join(self.french.transduce(prepare_input(333)));self.assertEqual(val, "trois cent trente trois")
        except: print "got "+val+", expected: trois cent trente trois for 333";s.append(333)
        try: val=' '.join(self.french.transduce(prepare_input(334)));self.assertEqual(val, "trois cent trente quatre")
        except: print "got "+val+", expected: trois cent trente quatre for 334";s.append(334)
        try: val=' '.join(self.french.transduce(prepare_input(335)));self.assertEqual(val, "trois cent trente cinq")
        except: print "got "+val+", expected: trois cent trente cinq for 335";s.append(335)
        try: val=' '.join(self.french.transduce(prepare_input(336)));self.assertEqual(val, "trois cent trente six")
        except: print "got "+val+", expected: trois cent trente six for 336";s.append(336)
        try: val=' '.join(self.french.transduce(prepare_input(337)));self.assertEqual(val, "trois cent trente sept")
        except: print "got "+val+", expected: trois cent trente sept for 337";s.append(337)
        try: val=' '.join(self.french.transduce(prepare_input(338)));self.assertEqual(val, "trois cent trente huit")
        except: print "got "+val+", expected: trois cent trente huit for 338";s.append(338)
        try: val=' '.join(self.french.transduce(prepare_input(339)));self.assertEqual(val, "trois cent trente neuf")
        except: print "got "+val+", expected: trois cent trente neuf for 339";s.append(339)
        try: val=' '.join(self.french.transduce(prepare_input(340)));self.assertEqual(val, "trois cent quarante")
        except: print "got "+val+", expected: trois cent quarante for 340";s.append(340)
        try: val=' '.join(self.french.transduce(prepare_input(341)));self.assertEqual(val, "trois cent quarante et un")
        except: print "got "+val+", expected: trois cent quarante et un for 341";s.append(341)
        try: val=' '.join(self.french.transduce(prepare_input(342)));self.assertEqual(val, "trois cent quarante deux")
        except: print "got "+val+", expected: trois cent quarante deux for 342";s.append(342)
        try: val=' '.join(self.french.transduce(prepare_input(343)));self.assertEqual(val, "trois cent quarante trois")
        except: print "got "+val+", expected: trois cent quarante trois for 343";s.append(343)
        try: val=' '.join(self.french.transduce(prepare_input(344)));self.assertEqual(val, "trois cent quarante quatre")
        except: print "got "+val+", expected: trois cent quarante quatre for 344";s.append(344)
        try: val=' '.join(self.french.transduce(prepare_input(345)));self.assertEqual(val, "trois cent quarante cinq")
        except: print "got "+val+", expected: trois cent quarante cinq for 345";s.append(345)
        try: val=' '.join(self.french.transduce(prepare_input(346)));self.assertEqual(val, "trois cent quarante six")
        except: print "got "+val+", expected: trois cent quarante six for 346";s.append(346)
        try: val=' '.join(self.french.transduce(prepare_input(347)));self.assertEqual(val, "trois cent quarante sept")
        except: print "got "+val+", expected: trois cent quarante sept for 347";s.append(347)
        try: val=' '.join(self.french.transduce(prepare_input(348)));self.assertEqual(val, "trois cent quarante huit")
        except: print "got "+val+", expected: trois cent quarante huit for 348";s.append(348)
        try: val=' '.join(self.french.transduce(prepare_input(349)));self.assertEqual(val, "trois cent quarante neuf")
        except: print "got "+val+", expected: trois cent quarante neuf for 349";s.append(349)
        try: val=' '.join(self.french.transduce(prepare_input(350)));self.assertEqual(val, "trois cent cinquante")
        except: print "got "+val+", expected: trois cent cinquante for 350";s.append(350)
        try: val=' '.join(self.french.transduce(prepare_input(351)));self.assertEqual(val, "trois cent cinquante et un")
        except: print "got "+val+", expected: trois cent cinquante et un for 351";s.append(351)
        try: val=' '.join(self.french.transduce(prepare_input(352)));self.assertEqual(val, "trois cent cinquante deux")
        except: print "got "+val+", expected: trois cent cinquante deux for 352";s.append(352)
        try: val=' '.join(self.french.transduce(prepare_input(353)));self.assertEqual(val, "trois cent cinquante trois")
        except: print "got "+val+", expected: trois cent cinquante trois for 353";s.append(353)
        try: val=' '.join(self.french.transduce(prepare_input(354)));self.assertEqual(val, "trois cent cinquante quatre")
        except: print "got "+val+", expected: trois cent cinquante quatre for 354";s.append(354)
        try: val=' '.join(self.french.transduce(prepare_input(355)));self.assertEqual(val, "trois cent cinquante cinq")
        except: print "got "+val+", expected: trois cent cinquante cinq for 355";s.append(355)
        try: val=' '.join(self.french.transduce(prepare_input(356)));self.assertEqual(val, "trois cent cinquante six")
        except: print "got "+val+", expected: trois cent cinquante six for 356";s.append(356)
        try: val=' '.join(self.french.transduce(prepare_input(357)));self.assertEqual(val, "trois cent cinquante sept")
        except: print "got "+val+", expected: trois cent cinquante sept for 357";s.append(357)
        try: val=' '.join(self.french.transduce(prepare_input(358)));self.assertEqual(val, "trois cent cinquante huit")
        except: print "got "+val+", expected: trois cent cinquante huit for 358";s.append(358)
        try: val=' '.join(self.french.transduce(prepare_input(359)));self.assertEqual(val, "trois cent cinquante neuf")
        except: print "got "+val+", expected: trois cent cinquante neuf for 359";s.append(359)
        try: val=' '.join(self.french.transduce(prepare_input(360)));self.assertEqual(val, "trois cent soixante")
        except: print "got "+val+", expected: trois cent soixante for 360";s.append(360)
        try: val=' '.join(self.french.transduce(prepare_input(361)));self.assertEqual(val, "trois cent soixante et un")
        except: print "got "+val+", expected: trois cent soixante et un for 361";s.append(361)
        try: val=' '.join(self.french.transduce(prepare_input(362)));self.assertEqual(val, "trois cent soixante deux")
        except: print "got "+val+", expected: trois cent soixante deux for 362";s.append(362)
        try: val=' '.join(self.french.transduce(prepare_input(363)));self.assertEqual(val, "trois cent soixante trois")
        except: print "got "+val+", expected: trois cent soixante trois for 363";s.append(363)
        try: val=' '.join(self.french.transduce(prepare_input(364)));self.assertEqual(val, "trois cent soixante quatre")
        except: print "got "+val+", expected: trois cent soixante quatre for 364";s.append(364)
        try: val=' '.join(self.french.transduce(prepare_input(365)));self.assertEqual(val, "trois cent soixante cinq")
        except: print "got "+val+", expected: trois cent soixante cinq for 365";s.append(365)
        try: val=' '.join(self.french.transduce(prepare_input(366)));self.assertEqual(val, "trois cent soixante six")
        except: print "got "+val+", expected: trois cent soixante six for 366";s.append(366)
        try: val=' '.join(self.french.transduce(prepare_input(367)));self.assertEqual(val, "trois cent soixante sept")
        except: print "got "+val+", expected: trois cent soixante sept for 367";s.append(367)
        try: val=' '.join(self.french.transduce(prepare_input(368)));self.assertEqual(val, "trois cent soixante huit")
        except: print "got "+val+", expected: trois cent soixante huit for 368";s.append(368)
        try: val=' '.join(self.french.transduce(prepare_input(369)));self.assertEqual(val, "trois cent soixante neuf")
        except: print "got "+val+", expected: trois cent soixante neuf for 369";s.append(369)
        try: val=' '.join(self.french.transduce(prepare_input(370)));self.assertEqual(val, "trois cent soixante dix")
        except: print "got "+val+", expected: trois cent soixante dix for 370";s.append(370)
        try: val=' '.join(self.french.transduce(prepare_input(371)));self.assertEqual(val, "trois cent soixante et onze")
        except: print "got "+val+", expected: trois cent soixante et onze for 371";s.append(371)
        try: val=' '.join(self.french.transduce(prepare_input(372)));self.assertEqual(val, "trois cent soixante douze")
        except: print "got "+val+", expected: trois cent soixante douze for 372";s.append(372)
        try: val=' '.join(self.french.transduce(prepare_input(373)));self.assertEqual(val, "trois cent soixante treize")
        except: print "got "+val+", expected: trois cent soixante treize for 373";s.append(373)
        try: val=' '.join(self.french.transduce(prepare_input(374)));self.assertEqual(val, "trois cent soixante quatorze")
        except: print "got "+val+", expected: trois cent soixante quatorze for 374";s.append(374)
        try: val=' '.join(self.french.transduce(prepare_input(375)));self.assertEqual(val, "trois cent soixante quinze")
        except: print "got "+val+", expected: trois cent soixante quinze for 375";s.append(375)
        try: val=' '.join(self.french.transduce(prepare_input(376)));self.assertEqual(val, "trois cent soixante seize")
        except: print "got "+val+", expected: trois cent soixante seize for 376";s.append(376)
        try: val=' '.join(self.french.transduce(prepare_input(377)));self.assertEqual(val, "trois cent soixante dix sept")
        except: print "got "+val+", expected: trois cent soixante dix sept for 377";s.append(377)
        try: val=' '.join(self.french.transduce(prepare_input(378)));self.assertEqual(val, "trois cent soixante dix huit")
        except: print "got "+val+", expected: trois cent soixante dix huit for 378";s.append(378)
        try: val=' '.join(self.french.transduce(prepare_input(379)));self.assertEqual(val, "trois cent soixante dix neuf")
        except: print "got "+val+", expected: trois cent soixante dix neuf for 379";s.append(379)
        try: val=' '.join(self.french.transduce(prepare_input(380)));self.assertEqual(val, "trois cent quatre vingt")
        except: print "got "+val+", expected: trois cent quatre vingt for 380";s.append(380)
        try: val=' '.join(self.french.transduce(prepare_input(381)));self.assertEqual(val, "trois cent quatre vingt un")
        except: print "got "+val+", expected: trois cent quatre vingt un for 381";s.append(381)
        try: val=' '.join(self.french.transduce(prepare_input(382)));self.assertEqual(val, "trois cent quatre vingt deux")
        except: print "got "+val+", expected: trois cent quatre vingt deux for 382";s.append(382)
        try: val=' '.join(self.french.transduce(prepare_input(383)));self.assertEqual(val, "trois cent quatre vingt trois")
        except: print "got "+val+", expected: trois cent quatre vingt trois for 383";s.append(383)
        try: val=' '.join(self.french.transduce(prepare_input(384)));self.assertEqual(val, "trois cent quatre vingt quatre")
        except: print "got "+val+", expected: trois cent quatre vingt quatre for 384";s.append(384)
        try: val=' '.join(self.french.transduce(prepare_input(385)));self.assertEqual(val, "trois cent quatre vingt cinq")
        except: print "got "+val+", expected: trois cent quatre vingt cinq for 385";s.append(385)
        try: val=' '.join(self.french.transduce(prepare_input(386)));self.assertEqual(val, "trois cent quatre vingt six")
        except: print "got "+val+", expected: trois cent quatre vingt six for 386";s.append(386)
        try: val=' '.join(self.french.transduce(prepare_input(387)));self.assertEqual(val, "trois cent quatre vingt sept")
        except: print "got "+val+", expected: trois cent quatre vingt sept for 387";s.append(387)
        try: val=' '.join(self.french.transduce(prepare_input(388)));self.assertEqual(val, "trois cent quatre vingt huit")
        except: print "got "+val+", expected: trois cent quatre vingt huit for 388";s.append(388)
        try: val=' '.join(self.french.transduce(prepare_input(389)));self.assertEqual(val, "trois cent quatre vingt neuf")
        except: print "got "+val+", expected: trois cent quatre vingt neuf for 389";s.append(389)
        try: val=' '.join(self.french.transduce(prepare_input(390)));self.assertEqual(val, "trois cent quatre vingt dix")
        except: print "got "+val+", expected: trois cent quatre vingt dix for 390";s.append(390)
        try: val=' '.join(self.french.transduce(prepare_input(391)));self.assertEqual(val, "trois cent quatre vingt onze")
        except: print "got "+val+", expected: trois cent quatre vingt onze for 391";s.append(391)
        try: val=' '.join(self.french.transduce(prepare_input(392)));self.assertEqual(val, "trois cent quatre vingt douze")
        except: print "got "+val+", expected: trois cent quatre vingt douze for 392";s.append(392)
        try: val=' '.join(self.french.transduce(prepare_input(393)));self.assertEqual(val, "trois cent quatre vingt treize")
        except: print "got "+val+", expected: trois cent quatre vingt treize for 393";s.append(393)
        try: val=' '.join(self.french.transduce(prepare_input(394)));self.assertEqual(val, "trois cent quatre vingt quatorze")
        except: print "got "+val+", expected: trois cent quatre vingt quatorze for 394";s.append(394)
        try: val=' '.join(self.french.transduce(prepare_input(395)));self.assertEqual(val, "trois cent quatre vingt quinze")
        except: print "got "+val+", expected: trois cent quatre vingt quinze for 395";s.append(395)
        try: val=' '.join(self.french.transduce(prepare_input(396)));self.assertEqual(val, "trois cent quatre vingt seize")
        except: print "got "+val+", expected: trois cent quatre vingt seize for 396";s.append(396)
        try: val=' '.join(self.french.transduce(prepare_input(397)));self.assertEqual(val, "trois cent quatre vingt dix sept")
        except: print "got "+val+", expected: trois cent quatre vingt dix sept for 397";s.append(397)
        try: val=' '.join(self.french.transduce(prepare_input(398)));self.assertEqual(val, "trois cent quatre vingt dix huit")
        except: print "got "+val+", expected: trois cent quatre vingt dix huit for 398";s.append(398)
        try: val=' '.join(self.french.transduce(prepare_input(399)));self.assertEqual(val, "trois cent quatre vingt dix neuf")
        except: print "got "+val+", expected: trois cent quatre vingt dix neuf for 399";s.append(399)
        try: val=' '.join(self.french.transduce(prepare_input(400)));self.assertEqual(val, "quatre cent")
        except: print "got "+val+", expected: quatre cent  for 400";s.append(400)
        try: val=' '.join(self.french.transduce(prepare_input(401)));self.assertEqual(val, "quatre cent un")
        except: print "got "+val+", expected: quatre cent un for 401";s.append(401)
        try: val=' '.join(self.french.transduce(prepare_input(402)));self.assertEqual(val, "quatre cent deux")
        except: print "got "+val+", expected: quatre cent deux for 402";s.append(402)
        try: val=' '.join(self.french.transduce(prepare_input(403)));self.assertEqual(val, "quatre cent trois")
        except: print "got "+val+", expected: quatre cent trois for 403";s.append(403)
        try: val=' '.join(self.french.transduce(prepare_input(404)));self.assertEqual(val, "quatre cent quatre")
        except: print "got "+val+", expected: quatre cent quatre for 404";s.append(404)
        try: val=' '.join(self.french.transduce(prepare_input(405)));self.assertEqual(val, "quatre cent cinq")
        except: print "got "+val+", expected: quatre cent cinq for 405";s.append(405)
        try: val=' '.join(self.french.transduce(prepare_input(406)));self.assertEqual(val, "quatre cent six")
        except: print "got "+val+", expected: quatre cent six for 406";s.append(406)
        try: val=' '.join(self.french.transduce(prepare_input(407)));self.assertEqual(val, "quatre cent sept")
        except: print "got "+val+", expected: quatre cent sept for 407";s.append(407)
        try: val=' '.join(self.french.transduce(prepare_input(408)));self.assertEqual(val, "quatre cent huit")
        except: print "got "+val+", expected: quatre cent huit for 408";s.append(408)
        try: val=' '.join(self.french.transduce(prepare_input(409)));self.assertEqual(val, "quatre cent neuf")
        except: print "got "+val+", expected: quatre cent neuf for 409";s.append(409)
        try: val=' '.join(self.french.transduce(prepare_input(410)));self.assertEqual(val, "quatre cent dix")
        except: print "got "+val+", expected: quatre cent dix for 410";s.append(410)
        try: val=' '.join(self.french.transduce(prepare_input(411)));self.assertEqual(val, "quatre cent onze")
        except: print "got "+val+", expected: quatre cent onze for 411";s.append(411)
        try: val=' '.join(self.french.transduce(prepare_input(412)));self.assertEqual(val, "quatre cent douze")
        except: print "got "+val+", expected: quatre cent douze for 412";s.append(412)
        try: val=' '.join(self.french.transduce(prepare_input(413)));self.assertEqual(val, "quatre cent treize")
        except: print "got "+val+", expected: quatre cent treize for 413";s.append(413)
        try: val=' '.join(self.french.transduce(prepare_input(414)));self.assertEqual(val, "quatre cent quatorze")
        except: print "got "+val+", expected: quatre cent quatorze for 414";s.append(414)
        try: val=' '.join(self.french.transduce(prepare_input(415)));self.assertEqual(val, "quatre cent quinze")
        except: print "got "+val+", expected: quatre cent quinze for 415";s.append(415)
        try: val=' '.join(self.french.transduce(prepare_input(416)));self.assertEqual(val, "quatre cent seize")
        except: print "got "+val+", expected: quatre cent seize for 416";s.append(416)
        try: val=' '.join(self.french.transduce(prepare_input(417)));self.assertEqual(val, "quatre cent dix sept")
        except: print "got "+val+", expected: quatre cent dix sept for 417";s.append(417)
        try: val=' '.join(self.french.transduce(prepare_input(418)));self.assertEqual(val, "quatre cent dix huit")
        except: print "got "+val+", expected: quatre cent dix huit for 418";s.append(418)
        try: val=' '.join(self.french.transduce(prepare_input(419)));self.assertEqual(val, "quatre cent dix neuf")
        except: print "got "+val+", expected: quatre cent dix neuf for 419";s.append(419)
        try: val=' '.join(self.french.transduce(prepare_input(420)));self.assertEqual(val, "quatre cent vingt")
        except: print "got "+val+", expected: quatre cent vingt for 420";s.append(420)
        try: val=' '.join(self.french.transduce(prepare_input(421)));self.assertEqual(val, "quatre cent vingt et un")
        except: print "got "+val+", expected: quatre cent vingt et un for 421";s.append(421)
        try: val=' '.join(self.french.transduce(prepare_input(422)));self.assertEqual(val, "quatre cent vingt deux")
        except: print "got "+val+", expected: quatre cent vingt deux for 422";s.append(422)
        try: val=' '.join(self.french.transduce(prepare_input(423)));self.assertEqual(val, "quatre cent vingt trois")
        except: print "got "+val+", expected: quatre cent vingt trois for 423";s.append(423)
        try: val=' '.join(self.french.transduce(prepare_input(424)));self.assertEqual(val, "quatre cent vingt quatre")
        except: print "got "+val+", expected: quatre cent vingt quatre for 424";s.append(424)
        try: val=' '.join(self.french.transduce(prepare_input(425)));self.assertEqual(val, "quatre cent vingt cinq")
        except: print "got "+val+", expected: quatre cent vingt cinq for 425";s.append(425)
        try: val=' '.join(self.french.transduce(prepare_input(426)));self.assertEqual(val, "quatre cent vingt six")
        except: print "got "+val+", expected: quatre cent vingt six for 426";s.append(426)
        try: val=' '.join(self.french.transduce(prepare_input(427)));self.assertEqual(val, "quatre cent vingt sept")
        except: print "got "+val+", expected: quatre cent vingt sept for 427";s.append(427)
        try: val=' '.join(self.french.transduce(prepare_input(428)));self.assertEqual(val, "quatre cent vingt huit")
        except: print "got "+val+", expected: quatre cent vingt huit for 428";s.append(428)
        try: val=' '.join(self.french.transduce(prepare_input(429)));self.assertEqual(val, "quatre cent vingt neuf")
        except: print "got "+val+", expected: quatre cent vingt neuf for 429";s.append(429)
        try: val=' '.join(self.french.transduce(prepare_input(430)));self.assertEqual(val, "quatre cent trente")
        except: print "got "+val+", expected: quatre cent trente for 430";s.append(430)
        try: val=' '.join(self.french.transduce(prepare_input(431)));self.assertEqual(val, "quatre cent trente et un")
        except: print "got "+val+", expected: quatre cent trente et un for 431";s.append(431)
        try: val=' '.join(self.french.transduce(prepare_input(432)));self.assertEqual(val, "quatre cent trente deux")
        except: print "got "+val+", expected: quatre cent trente deux for 432";s.append(432)
        try: val=' '.join(self.french.transduce(prepare_input(433)));self.assertEqual(val, "quatre cent trente trois")
        except: print "got "+val+", expected: quatre cent trente trois for 433";s.append(433)
        try: val=' '.join(self.french.transduce(prepare_input(434)));self.assertEqual(val, "quatre cent trente quatre")
        except: print "got "+val+", expected: quatre cent trente quatre for 434";s.append(434)
        try: val=' '.join(self.french.transduce(prepare_input(435)));self.assertEqual(val, "quatre cent trente cinq")
        except: print "got "+val+", expected: quatre cent trente cinq for 435";s.append(435)
        try: val=' '.join(self.french.transduce(prepare_input(436)));self.assertEqual(val, "quatre cent trente six")
        except: print "got "+val+", expected: quatre cent trente six for 436";s.append(436)
        try: val=' '.join(self.french.transduce(prepare_input(437)));self.assertEqual(val, "quatre cent trente sept")
        except: print "got "+val+", expected: quatre cent trente sept for 437";s.append(437)
        try: val=' '.join(self.french.transduce(prepare_input(438)));self.assertEqual(val, "quatre cent trente huit")
        except: print "got "+val+", expected: quatre cent trente huit for 438";s.append(438)
        try: val=' '.join(self.french.transduce(prepare_input(439)));self.assertEqual(val, "quatre cent trente neuf")
        except: print "got "+val+", expected: quatre cent trente neuf for 439";s.append(439)
        try: val=' '.join(self.french.transduce(prepare_input(440)));self.assertEqual(val, "quatre cent quarante")
        except: print "got "+val+", expected: quatre cent quarante for 440";s.append(440)
        try: val=' '.join(self.french.transduce(prepare_input(441)));self.assertEqual(val, "quatre cent quarante et un")
        except: print "got "+val+", expected: quatre cent quarante et un for 441";s.append(441)
        try: val=' '.join(self.french.transduce(prepare_input(442)));self.assertEqual(val, "quatre cent quarante deux")
        except: print "got "+val+", expected: quatre cent quarante deux for 442";s.append(442)
        try: val=' '.join(self.french.transduce(prepare_input(443)));self.assertEqual(val, "quatre cent quarante trois")
        except: print "got "+val+", expected: quatre cent quarante trois for 443";s.append(443)
        try: val=' '.join(self.french.transduce(prepare_input(444)));self.assertEqual(val, "quatre cent quarante quatre")
        except: print "got "+val+", expected: quatre cent quarante quatre for 444";s.append(444)
        try: val=' '.join(self.french.transduce(prepare_input(445)));self.assertEqual(val, "quatre cent quarante cinq")
        except: print "got "+val+", expected: quatre cent quarante cinq for 445";s.append(445)
        try: val=' '.join(self.french.transduce(prepare_input(446)));self.assertEqual(val, "quatre cent quarante six")
        except: print "got "+val+", expected: quatre cent quarante six for 446";s.append(446)
        try: val=' '.join(self.french.transduce(prepare_input(447)));self.assertEqual(val, "quatre cent quarante sept")
        except: print "got "+val+", expected: quatre cent quarante sept for 447";s.append(447)
        try: val=' '.join(self.french.transduce(prepare_input(448)));self.assertEqual(val, "quatre cent quarante huit")
        except: print "got "+val+", expected: quatre cent quarante huit for 448";s.append(448)
        try: val=' '.join(self.french.transduce(prepare_input(449)));self.assertEqual(val, "quatre cent quarante neuf")
        except: print "got "+val+", expected: quatre cent quarante neuf for 449";s.append(449)
        try: val=' '.join(self.french.transduce(prepare_input(450)));self.assertEqual(val, "quatre cent cinquante")
        except: print "got "+val+", expected: quatre cent cinquante for 450";s.append(450)
        try: val=' '.join(self.french.transduce(prepare_input(451)));self.assertEqual(val, "quatre cent cinquante et un")
        except: print "got "+val+", expected: quatre cent cinquante et un for 451";s.append(451)
        try: val=' '.join(self.french.transduce(prepare_input(452)));self.assertEqual(val, "quatre cent cinquante deux")
        except: print "got "+val+", expected: quatre cent cinquante deux for 452";s.append(452)
        try: val=' '.join(self.french.transduce(prepare_input(453)));self.assertEqual(val, "quatre cent cinquante trois")
        except: print "got "+val+", expected: quatre cent cinquante trois for 453";s.append(453)
        try: val=' '.join(self.french.transduce(prepare_input(454)));self.assertEqual(val, "quatre cent cinquante quatre")
        except: print "got "+val+", expected: quatre cent cinquante quatre for 454";s.append(454)
        try: val=' '.join(self.french.transduce(prepare_input(455)));self.assertEqual(val, "quatre cent cinquante cinq")
        except: print "got "+val+", expected: quatre cent cinquante cinq for 455";s.append(455)
        try: val=' '.join(self.french.transduce(prepare_input(456)));self.assertEqual(val, "quatre cent cinquante six")
        except: print "got "+val+", expected: quatre cent cinquante six for 456";s.append(456)
        try: val=' '.join(self.french.transduce(prepare_input(457)));self.assertEqual(val, "quatre cent cinquante sept")
        except: print "got "+val+", expected: quatre cent cinquante sept for 457";s.append(457)
        try: val=' '.join(self.french.transduce(prepare_input(458)));self.assertEqual(val, "quatre cent cinquante huit")
        except: print "got "+val+", expected: quatre cent cinquante huit for 458";s.append(458)
        try: val=' '.join(self.french.transduce(prepare_input(459)));self.assertEqual(val, "quatre cent cinquante neuf")
        except: print "got "+val+", expected: quatre cent cinquante neuf for 459";s.append(459)
        try: val=' '.join(self.french.transduce(prepare_input(460)));self.assertEqual(val, "quatre cent soixante")
        except: print "got "+val+", expected: quatre cent soixante for 460";s.append(460)
        try: val=' '.join(self.french.transduce(prepare_input(461)));self.assertEqual(val, "quatre cent soixante et un")
        except: print "got "+val+", expected: quatre cent soixante et un for 461";s.append(461)
        try: val=' '.join(self.french.transduce(prepare_input(462)));self.assertEqual(val, "quatre cent soixante deux")
        except: print "got "+val+", expected: quatre cent soixante deux for 462";s.append(462)
        try: val=' '.join(self.french.transduce(prepare_input(463)));self.assertEqual(val, "quatre cent soixante trois")
        except: print "got "+val+", expected: quatre cent soixante trois for 463";s.append(463)
        try: val=' '.join(self.french.transduce(prepare_input(464)));self.assertEqual(val, "quatre cent soixante quatre")
        except: print "got "+val+", expected: quatre cent soixante quatre for 464";s.append(464)
        try: val=' '.join(self.french.transduce(prepare_input(465)));self.assertEqual(val, "quatre cent soixante cinq")
        except: print "got "+val+", expected: quatre cent soixante cinq for 465";s.append(465)
        try: val=' '.join(self.french.transduce(prepare_input(466)));self.assertEqual(val, "quatre cent soixante six")
        except: print "got "+val+", expected: quatre cent soixante six for 466";s.append(466)
        try: val=' '.join(self.french.transduce(prepare_input(467)));self.assertEqual(val, "quatre cent soixante sept")
        except: print "got "+val+", expected: quatre cent soixante sept for 467";s.append(467)
        try: val=' '.join(self.french.transduce(prepare_input(468)));self.assertEqual(val, "quatre cent soixante huit")
        except: print "got "+val+", expected: quatre cent soixante huit for 468";s.append(468)
        try: val=' '.join(self.french.transduce(prepare_input(469)));self.assertEqual(val, "quatre cent soixante neuf")
        except: print "got "+val+", expected: quatre cent soixante neuf for 469";s.append(469)
        try: val=' '.join(self.french.transduce(prepare_input(470)));self.assertEqual(val, "quatre cent soixante dix")
        except: print "got "+val+", expected: quatre cent soixante dix for 470";s.append(470)
        try: val=' '.join(self.french.transduce(prepare_input(471)));self.assertEqual(val, "quatre cent soixante et onze")
        except: print "got "+val+", expected: quatre cent soixante et onze for 471";s.append(471)
        try: val=' '.join(self.french.transduce(prepare_input(472)));self.assertEqual(val, "quatre cent soixante douze")
        except: print "got "+val+", expected: quatre cent soixante douze for 472";s.append(472)
        try: val=' '.join(self.french.transduce(prepare_input(473)));self.assertEqual(val, "quatre cent soixante treize")
        except: print "got "+val+", expected: quatre cent soixante treize for 473";s.append(473)
        try: val=' '.join(self.french.transduce(prepare_input(474)));self.assertEqual(val, "quatre cent soixante quatorze")
        except: print "got "+val+", expected: quatre cent soixante quatorze for 474";s.append(474)
        try: val=' '.join(self.french.transduce(prepare_input(475)));self.assertEqual(val, "quatre cent soixante quinze")
        except: print "got "+val+", expected: quatre cent soixante quinze for 475";s.append(475)
        try: val=' '.join(self.french.transduce(prepare_input(476)));self.assertEqual(val, "quatre cent soixante seize")
        except: print "got "+val+", expected: quatre cent soixante seize for 476";s.append(476)
        try: val=' '.join(self.french.transduce(prepare_input(477)));self.assertEqual(val, "quatre cent soixante dix sept")
        except: print "got "+val+", expected: quatre cent soixante dix sept for 477";s.append(477)
        try: val=' '.join(self.french.transduce(prepare_input(478)));self.assertEqual(val, "quatre cent soixante dix huit")
        except: print "got "+val+", expected: quatre cent soixante dix huit for 478";s.append(478)
        try: val=' '.join(self.french.transduce(prepare_input(479)));self.assertEqual(val, "quatre cent soixante dix neuf")
        except: print "got "+val+", expected: quatre cent soixante dix neuf for 479";s.append(479)
        try: val=' '.join(self.french.transduce(prepare_input(480)));self.assertEqual(val, "quatre cent quatre vingt")
        except: print "got "+val+", expected: quatre cent quatre vingt for 480";s.append(480)
        try: val=' '.join(self.french.transduce(prepare_input(481)));self.assertEqual(val, "quatre cent quatre vingt un")
        except: print "got "+val+", expected: quatre cent quatre vingt un for 481";s.append(481)
        try: val=' '.join(self.french.transduce(prepare_input(482)));self.assertEqual(val, "quatre cent quatre vingt deux")
        except: print "got "+val+", expected: quatre cent quatre vingt deux for 482";s.append(482)
        try: val=' '.join(self.french.transduce(prepare_input(483)));self.assertEqual(val, "quatre cent quatre vingt trois")
        except: print "got "+val+", expected: quatre cent quatre vingt trois for 483";s.append(483)
        try: val=' '.join(self.french.transduce(prepare_input(484)));self.assertEqual(val, "quatre cent quatre vingt quatre")
        except: print "got "+val+", expected: quatre cent quatre vingt quatre for 484";s.append(484)
        try: val=' '.join(self.french.transduce(prepare_input(485)));self.assertEqual(val, "quatre cent quatre vingt cinq")
        except: print "got "+val+", expected: quatre cent quatre vingt cinq for 485";s.append(485)
        try: val=' '.join(self.french.transduce(prepare_input(486)));self.assertEqual(val, "quatre cent quatre vingt six")
        except: print "got "+val+", expected: quatre cent quatre vingt six for 486";s.append(486)
        try: val=' '.join(self.french.transduce(prepare_input(487)));self.assertEqual(val, "quatre cent quatre vingt sept")
        except: print "got "+val+", expected: quatre cent quatre vingt sept for 487";s.append(487)
        try: val=' '.join(self.french.transduce(prepare_input(488)));self.assertEqual(val, "quatre cent quatre vingt huit")
        except: print "got "+val+", expected: quatre cent quatre vingt huit for 488";s.append(488)
        try: val=' '.join(self.french.transduce(prepare_input(489)));self.assertEqual(val, "quatre cent quatre vingt neuf")
        except: print "got "+val+", expected: quatre cent quatre vingt neuf for 489";s.append(489)
        try: val=' '.join(self.french.transduce(prepare_input(490)));self.assertEqual(val, "quatre cent quatre vingt dix")
        except: print "got "+val+", expected: quatre cent quatre vingt dix for 490";s.append(490)
        try: val=' '.join(self.french.transduce(prepare_input(491)));self.assertEqual(val, "quatre cent quatre vingt onze")
        except: print "got "+val+", expected: quatre cent quatre vingt onze for 491";s.append(491)
        try: val=' '.join(self.french.transduce(prepare_input(492)));self.assertEqual(val, "quatre cent quatre vingt douze")
        except: print "got "+val+", expected: quatre cent quatre vingt douze for 492";s.append(492)
        try: val=' '.join(self.french.transduce(prepare_input(493)));self.assertEqual(val, "quatre cent quatre vingt treize")
        except: print "got "+val+", expected: quatre cent quatre vingt treize for 493";s.append(493)
        try: val=' '.join(self.french.transduce(prepare_input(494)));self.assertEqual(val, "quatre cent quatre vingt quatorze")
        except: print "got "+val+", expected: quatre cent quatre vingt quatorze for 494";s.append(494)
        try: val=' '.join(self.french.transduce(prepare_input(495)));self.assertEqual(val, "quatre cent quatre vingt quinze")
        except: print "got "+val+", expected: quatre cent quatre vingt quinze for 495";s.append(495)
        try: val=' '.join(self.french.transduce(prepare_input(496)));self.assertEqual(val, "quatre cent quatre vingt seize")
        except: print "got "+val+", expected: quatre cent quatre vingt seize for 496";s.append(496)
        try: val=' '.join(self.french.transduce(prepare_input(497)));self.assertEqual(val, "quatre cent quatre vingt dix sept")
        except: print "got "+val+", expected: quatre cent quatre vingt dix sept for 497";s.append(497)
        try: val=' '.join(self.french.transduce(prepare_input(498)));self.assertEqual(val, "quatre cent quatre vingt dix huit")
        except: print "got "+val+", expected: quatre cent quatre vingt dix huit for 498";s.append(498)
        try: val=' '.join(self.french.transduce(prepare_input(499)));self.assertEqual(val, "quatre cent quatre vingt dix neuf")
        except: print "got "+val+", expected: quatre cent quatre vingt dix neuf for 499";s.append(499)
        try: val=' '.join(self.french.transduce(prepare_input(500)));self.assertEqual(val, "cinq cent")
        except: print "got "+val+", expected: cinq cent  for 500";s.append(500)
        try: val=' '.join(self.french.transduce(prepare_input(501)));self.assertEqual(val, "cinq cent un")
        except: print "got "+val+", expected: cinq cent un for 501";s.append(501)
        try: val=' '.join(self.french.transduce(prepare_input(502)));self.assertEqual(val, "cinq cent deux")
        except: print "got "+val+", expected: cinq cent deux for 502";s.append(502)
        try: val=' '.join(self.french.transduce(prepare_input(503)));self.assertEqual(val, "cinq cent trois")
        except: print "got "+val+", expected: cinq cent trois for 503";s.append(503)
        try: val=' '.join(self.french.transduce(prepare_input(504)));self.assertEqual(val, "cinq cent quatre")
        except: print "got "+val+", expected: cinq cent quatre for 504";s.append(504)
        try: val=' '.join(self.french.transduce(prepare_input(505)));self.assertEqual(val, "cinq cent cinq")
        except: print "got "+val+", expected: cinq cent cinq for 505";s.append(505)
        try: val=' '.join(self.french.transduce(prepare_input(506)));self.assertEqual(val, "cinq cent six")
        except: print "got "+val+", expected: cinq cent six for 506";s.append(506)
        try: val=' '.join(self.french.transduce(prepare_input(507)));self.assertEqual(val, "cinq cent sept")
        except: print "got "+val+", expected: cinq cent sept for 507";s.append(507)
        try: val=' '.join(self.french.transduce(prepare_input(508)));self.assertEqual(val, "cinq cent huit")
        except: print "got "+val+", expected: cinq cent huit for 508";s.append(508)
        try: val=' '.join(self.french.transduce(prepare_input(509)));self.assertEqual(val, "cinq cent neuf")
        except: print "got "+val+", expected: cinq cent neuf for 509";s.append(509)
        try: val=' '.join(self.french.transduce(prepare_input(510)));self.assertEqual(val, "cinq cent dix")
        except: print "got "+val+", expected: cinq cent dix for 510";s.append(510)
        try: val=' '.join(self.french.transduce(prepare_input(511)));self.assertEqual(val, "cinq cent onze")
        except: print "got "+val+", expected: cinq cent onze for 511";s.append(511)
        try: val=' '.join(self.french.transduce(prepare_input(512)));self.assertEqual(val, "cinq cent douze")
        except: print "got "+val+", expected: cinq cent douze for 512";s.append(512)
        try: val=' '.join(self.french.transduce(prepare_input(513)));self.assertEqual(val, "cinq cent treize")
        except: print "got "+val+", expected: cinq cent treize for 513";s.append(513)
        try: val=' '.join(self.french.transduce(prepare_input(514)));self.assertEqual(val, "cinq cent quatorze")
        except: print "got "+val+", expected: cinq cent quatorze for 514";s.append(514)
        try: val=' '.join(self.french.transduce(prepare_input(515)));self.assertEqual(val, "cinq cent quinze")
        except: print "got "+val+", expected: cinq cent quinze for 515";s.append(515)
        try: val=' '.join(self.french.transduce(prepare_input(516)));self.assertEqual(val, "cinq cent seize")
        except: print "got "+val+", expected: cinq cent seize for 516";s.append(516)
        try: val=' '.join(self.french.transduce(prepare_input(517)));self.assertEqual(val, "cinq cent dix sept")
        except: print "got "+val+", expected: cinq cent dix sept for 517";s.append(517)
        try: val=' '.join(self.french.transduce(prepare_input(518)));self.assertEqual(val, "cinq cent dix huit")
        except: print "got "+val+", expected: cinq cent dix huit for 518";s.append(518)
        try: val=' '.join(self.french.transduce(prepare_input(519)));self.assertEqual(val, "cinq cent dix neuf")
        except: print "got "+val+", expected: cinq cent dix neuf for 519";s.append(519)
        try: val=' '.join(self.french.transduce(prepare_input(520)));self.assertEqual(val, "cinq cent vingt")
        except: print "got "+val+", expected: cinq cent vingt for 520";s.append(520)
        try: val=' '.join(self.french.transduce(prepare_input(521)));self.assertEqual(val, "cinq cent vingt et un")
        except: print "got "+val+", expected: cinq cent vingt et un for 521";s.append(521)
        try: val=' '.join(self.french.transduce(prepare_input(522)));self.assertEqual(val, "cinq cent vingt deux")
        except: print "got "+val+", expected: cinq cent vingt deux for 522";s.append(522)
        try: val=' '.join(self.french.transduce(prepare_input(523)));self.assertEqual(val, "cinq cent vingt trois")
        except: print "got "+val+", expected: cinq cent vingt trois for 523";s.append(523)
        try: val=' '.join(self.french.transduce(prepare_input(524)));self.assertEqual(val, "cinq cent vingt quatre")
        except: print "got "+val+", expected: cinq cent vingt quatre for 524";s.append(524)
        try: val=' '.join(self.french.transduce(prepare_input(525)));self.assertEqual(val, "cinq cent vingt cinq")
        except: print "got "+val+", expected: cinq cent vingt cinq for 525";s.append(525)
        try: val=' '.join(self.french.transduce(prepare_input(526)));self.assertEqual(val, "cinq cent vingt six")
        except: print "got "+val+", expected: cinq cent vingt six for 526";s.append(526)
        try: val=' '.join(self.french.transduce(prepare_input(527)));self.assertEqual(val, "cinq cent vingt sept")
        except: print "got "+val+", expected: cinq cent vingt sept for 527";s.append(527)
        try: val=' '.join(self.french.transduce(prepare_input(528)));self.assertEqual(val, "cinq cent vingt huit")
        except: print "got "+val+", expected: cinq cent vingt huit for 528";s.append(528)
        try: val=' '.join(self.french.transduce(prepare_input(529)));self.assertEqual(val, "cinq cent vingt neuf")
        except: print "got "+val+", expected: cinq cent vingt neuf for 529";s.append(529)
        try: val=' '.join(self.french.transduce(prepare_input(530)));self.assertEqual(val, "cinq cent trente")
        except: print "got "+val+", expected: cinq cent trente for 530";s.append(530)
        try: val=' '.join(self.french.transduce(prepare_input(531)));self.assertEqual(val, "cinq cent trente et un")
        except: print "got "+val+", expected: cinq cent trente et un for 531";s.append(531)
        try: val=' '.join(self.french.transduce(prepare_input(532)));self.assertEqual(val, "cinq cent trente deux")
        except: print "got "+val+", expected: cinq cent trente deux for 532";s.append(532)
        try: val=' '.join(self.french.transduce(prepare_input(533)));self.assertEqual(val, "cinq cent trente trois")
        except: print "got "+val+", expected: cinq cent trente trois for 533";s.append(533)
        try: val=' '.join(self.french.transduce(prepare_input(534)));self.assertEqual(val, "cinq cent trente quatre")
        except: print "got "+val+", expected: cinq cent trente quatre for 534";s.append(534)
        try: val=' '.join(self.french.transduce(prepare_input(535)));self.assertEqual(val, "cinq cent trente cinq")
        except: print "got "+val+", expected: cinq cent trente cinq for 535";s.append(535)
        try: val=' '.join(self.french.transduce(prepare_input(536)));self.assertEqual(val, "cinq cent trente six")
        except: print "got "+val+", expected: cinq cent trente six for 536";s.append(536)
        try: val=' '.join(self.french.transduce(prepare_input(537)));self.assertEqual(val, "cinq cent trente sept")
        except: print "got "+val+", expected: cinq cent trente sept for 537";s.append(537)
        try: val=' '.join(self.french.transduce(prepare_input(538)));self.assertEqual(val, "cinq cent trente huit")
        except: print "got "+val+", expected: cinq cent trente huit for 538";s.append(538)
        try: val=' '.join(self.french.transduce(prepare_input(539)));self.assertEqual(val, "cinq cent trente neuf")
        except: print "got "+val+", expected: cinq cent trente neuf for 539";s.append(539)
        try: val=' '.join(self.french.transduce(prepare_input(540)));self.assertEqual(val, "cinq cent quarante")
        except: print "got "+val+", expected: cinq cent quarante for 540";s.append(540)
        try: val=' '.join(self.french.transduce(prepare_input(541)));self.assertEqual(val, "cinq cent quarante et un")
        except: print "got "+val+", expected: cinq cent quarante et un for 541";s.append(541)
        try: val=' '.join(self.french.transduce(prepare_input(542)));self.assertEqual(val, "cinq cent quarante deux")
        except: print "got "+val+", expected: cinq cent quarante deux for 542";s.append(542)
        try: val=' '.join(self.french.transduce(prepare_input(543)));self.assertEqual(val, "cinq cent quarante trois")
        except: print "got "+val+", expected: cinq cent quarante trois for 543";s.append(543)
        try: val=' '.join(self.french.transduce(prepare_input(544)));self.assertEqual(val, "cinq cent quarante quatre")
        except: print "got "+val+", expected: cinq cent quarante quatre for 544";s.append(544)
        try: val=' '.join(self.french.transduce(prepare_input(545)));self.assertEqual(val, "cinq cent quarante cinq")
        except: print "got "+val+", expected: cinq cent quarante cinq for 545";s.append(545)
        try: val=' '.join(self.french.transduce(prepare_input(546)));self.assertEqual(val, "cinq cent quarante six")
        except: print "got "+val+", expected: cinq cent quarante six for 546";s.append(546)
        try: val=' '.join(self.french.transduce(prepare_input(547)));self.assertEqual(val, "cinq cent quarante sept")
        except: print "got "+val+", expected: cinq cent quarante sept for 547";s.append(547)
        try: val=' '.join(self.french.transduce(prepare_input(548)));self.assertEqual(val, "cinq cent quarante huit")
        except: print "got "+val+", expected: cinq cent quarante huit for 548";s.append(548)
        try: val=' '.join(self.french.transduce(prepare_input(549)));self.assertEqual(val, "cinq cent quarante neuf")
        except: print "got "+val+", expected: cinq cent quarante neuf for 549";s.append(549)
        try: val=' '.join(self.french.transduce(prepare_input(550)));self.assertEqual(val, "cinq cent cinquante")
        except: print "got "+val+", expected: cinq cent cinquante for 550";s.append(550)
        try: val=' '.join(self.french.transduce(prepare_input(551)));self.assertEqual(val, "cinq cent cinquante et un")
        except: print "got "+val+", expected: cinq cent cinquante et un for 551";s.append(551)
        try: val=' '.join(self.french.transduce(prepare_input(552)));self.assertEqual(val, "cinq cent cinquante deux")
        except: print "got "+val+", expected: cinq cent cinquante deux for 552";s.append(552)
        try: val=' '.join(self.french.transduce(prepare_input(553)));self.assertEqual(val, "cinq cent cinquante trois")
        except: print "got "+val+", expected: cinq cent cinquante trois for 553";s.append(553)
        try: val=' '.join(self.french.transduce(prepare_input(554)));self.assertEqual(val, "cinq cent cinquante quatre")
        except: print "got "+val+", expected: cinq cent cinquante quatre for 554";s.append(554)
        try: val=' '.join(self.french.transduce(prepare_input(555)));self.assertEqual(val, "cinq cent cinquante cinq")
        except: print "got "+val+", expected: cinq cent cinquante cinq for 555";s.append(555)
        try: val=' '.join(self.french.transduce(prepare_input(556)));self.assertEqual(val, "cinq cent cinquante six")
        except: print "got "+val+", expected: cinq cent cinquante six for 556";s.append(556)
        try: val=' '.join(self.french.transduce(prepare_input(557)));self.assertEqual(val, "cinq cent cinquante sept")
        except: print "got "+val+", expected: cinq cent cinquante sept for 557";s.append(557)
        try: val=' '.join(self.french.transduce(prepare_input(558)));self.assertEqual(val, "cinq cent cinquante huit")
        except: print "got "+val+", expected: cinq cent cinquante huit for 558";s.append(558)
        try: val=' '.join(self.french.transduce(prepare_input(559)));self.assertEqual(val, "cinq cent cinquante neuf")
        except: print "got "+val+", expected: cinq cent cinquante neuf for 559";s.append(559)
        try: val=' '.join(self.french.transduce(prepare_input(560)));self.assertEqual(val, "cinq cent soixante")
        except: print "got "+val+", expected: cinq cent soixante for 560";s.append(560)
        try: val=' '.join(self.french.transduce(prepare_input(561)));self.assertEqual(val, "cinq cent soixante et un")
        except: print "got "+val+", expected: cinq cent soixante et un for 561";s.append(561)
        try: val=' '.join(self.french.transduce(prepare_input(562)));self.assertEqual(val, "cinq cent soixante deux")
        except: print "got "+val+", expected: cinq cent soixante deux for 562";s.append(562)
        try: val=' '.join(self.french.transduce(prepare_input(563)));self.assertEqual(val, "cinq cent soixante trois")
        except: print "got "+val+", expected: cinq cent soixante trois for 563";s.append(563)
        try: val=' '.join(self.french.transduce(prepare_input(564)));self.assertEqual(val, "cinq cent soixante quatre")
        except: print "got "+val+", expected: cinq cent soixante quatre for 564";s.append(564)
        try: val=' '.join(self.french.transduce(prepare_input(565)));self.assertEqual(val, "cinq cent soixante cinq")
        except: print "got "+val+", expected: cinq cent soixante cinq for 565";s.append(565)
        try: val=' '.join(self.french.transduce(prepare_input(566)));self.assertEqual(val, "cinq cent soixante six")
        except: print "got "+val+", expected: cinq cent soixante six for 566";s.append(566)
        try: val=' '.join(self.french.transduce(prepare_input(567)));self.assertEqual(val, "cinq cent soixante sept")
        except: print "got "+val+", expected: cinq cent soixante sept for 567";s.append(567)
        try: val=' '.join(self.french.transduce(prepare_input(568)));self.assertEqual(val, "cinq cent soixante huit")
        except: print "got "+val+", expected: cinq cent soixante huit for 568";s.append(568)
        try: val=' '.join(self.french.transduce(prepare_input(569)));self.assertEqual(val, "cinq cent soixante neuf")
        except: print "got "+val+", expected: cinq cent soixante neuf for 569";s.append(569)
        try: val=' '.join(self.french.transduce(prepare_input(570)));self.assertEqual(val, "cinq cent soixante dix")
        except: print "got "+val+", expected: cinq cent soixante dix for 570";s.append(570)
        try: val=' '.join(self.french.transduce(prepare_input(571)));self.assertEqual(val, "cinq cent soixante et onze")
        except: print "got "+val+", expected: cinq cent soixante et onze for 571";s.append(571)
        try: val=' '.join(self.french.transduce(prepare_input(572)));self.assertEqual(val, "cinq cent soixante douze")
        except: print "got "+val+", expected: cinq cent soixante douze for 572";s.append(572)
        try: val=' '.join(self.french.transduce(prepare_input(573)));self.assertEqual(val, "cinq cent soixante treize")
        except: print "got "+val+", expected: cinq cent soixante treize for 573";s.append(573)
        try: val=' '.join(self.french.transduce(prepare_input(574)));self.assertEqual(val, "cinq cent soixante quatorze")
        except: print "got "+val+", expected: cinq cent soixante quatorze for 574";s.append(574)
        try: val=' '.join(self.french.transduce(prepare_input(575)));self.assertEqual(val, "cinq cent soixante quinze")
        except: print "got "+val+", expected: cinq cent soixante quinze for 575";s.append(575)
        try: val=' '.join(self.french.transduce(prepare_input(576)));self.assertEqual(val, "cinq cent soixante seize")
        except: print "got "+val+", expected: cinq cent soixante seize for 576";s.append(576)
        try: val=' '.join(self.french.transduce(prepare_input(577)));self.assertEqual(val, "cinq cent soixante dix sept")
        except: print "got "+val+", expected: cinq cent soixante dix sept for 577";s.append(577)
        try: val=' '.join(self.french.transduce(prepare_input(578)));self.assertEqual(val, "cinq cent soixante dix huit")
        except: print "got "+val+", expected: cinq cent soixante dix huit for 578";s.append(578)
        try: val=' '.join(self.french.transduce(prepare_input(579)));self.assertEqual(val, "cinq cent soixante dix neuf")
        except: print "got "+val+", expected: cinq cent soixante dix neuf for 579";s.append(579)
        try: val=' '.join(self.french.transduce(prepare_input(580)));self.assertEqual(val, "cinq cent quatre vingt")
        except: print "got "+val+", expected: cinq cent quatre vingt for 580";s.append(580)
        try: val=' '.join(self.french.transduce(prepare_input(581)));self.assertEqual(val, "cinq cent quatre vingt un")
        except: print "got "+val+", expected: cinq cent quatre vingt un for 581";s.append(581)
        try: val=' '.join(self.french.transduce(prepare_input(582)));self.assertEqual(val, "cinq cent quatre vingt deux")
        except: print "got "+val+", expected: cinq cent quatre vingt deux for 582";s.append(582)
        try: val=' '.join(self.french.transduce(prepare_input(583)));self.assertEqual(val, "cinq cent quatre vingt trois")
        except: print "got "+val+", expected: cinq cent quatre vingt trois for 583";s.append(583)
        try: val=' '.join(self.french.transduce(prepare_input(584)));self.assertEqual(val, "cinq cent quatre vingt quatre")
        except: print "got "+val+", expected: cinq cent quatre vingt quatre for 584";s.append(584)
        try: val=' '.join(self.french.transduce(prepare_input(585)));self.assertEqual(val, "cinq cent quatre vingt cinq")
        except: print "got "+val+", expected: cinq cent quatre vingt cinq for 585";s.append(585)
        try: val=' '.join(self.french.transduce(prepare_input(586)));self.assertEqual(val, "cinq cent quatre vingt six")
        except: print "got "+val+", expected: cinq cent quatre vingt six for 586";s.append(586)
        try: val=' '.join(self.french.transduce(prepare_input(587)));self.assertEqual(val, "cinq cent quatre vingt sept")
        except: print "got "+val+", expected: cinq cent quatre vingt sept for 587";s.append(587)
        try: val=' '.join(self.french.transduce(prepare_input(588)));self.assertEqual(val, "cinq cent quatre vingt huit")
        except: print "got "+val+", expected: cinq cent quatre vingt huit for 588";s.append(588)
        try: val=' '.join(self.french.transduce(prepare_input(589)));self.assertEqual(val, "cinq cent quatre vingt neuf")
        except: print "got "+val+", expected: cinq cent quatre vingt neuf for 589";s.append(589)
        try: val=' '.join(self.french.transduce(prepare_input(590)));self.assertEqual(val, "cinq cent quatre vingt dix")
        except: print "got "+val+", expected: cinq cent quatre vingt dix for 590";s.append(590)
        try: val=' '.join(self.french.transduce(prepare_input(591)));self.assertEqual(val, "cinq cent quatre vingt onze")
        except: print "got "+val+", expected: cinq cent quatre vingt onze for 591";s.append(591)
        try: val=' '.join(self.french.transduce(prepare_input(592)));self.assertEqual(val, "cinq cent quatre vingt douze")
        except: print "got "+val+", expected: cinq cent quatre vingt douze for 592";s.append(592)
        try: val=' '.join(self.french.transduce(prepare_input(593)));self.assertEqual(val, "cinq cent quatre vingt treize")
        except: print "got "+val+", expected: cinq cent quatre vingt treize for 593";s.append(593)
        try: val=' '.join(self.french.transduce(prepare_input(594)));self.assertEqual(val, "cinq cent quatre vingt quatorze")
        except: print "got "+val+", expected: cinq cent quatre vingt quatorze for 594";s.append(594)
        try: val=' '.join(self.french.transduce(prepare_input(595)));self.assertEqual(val, "cinq cent quatre vingt quinze")
        except: print "got "+val+", expected: cinq cent quatre vingt quinze for 595";s.append(595)
        try: val=' '.join(self.french.transduce(prepare_input(596)));self.assertEqual(val, "cinq cent quatre vingt seize")
        except: print "got "+val+", expected: cinq cent quatre vingt seize for 596";s.append(596)
        try: val=' '.join(self.french.transduce(prepare_input(597)));self.assertEqual(val, "cinq cent quatre vingt dix sept")
        except: print "got "+val+", expected: cinq cent quatre vingt dix sept for 597";s.append(597)
        try: val=' '.join(self.french.transduce(prepare_input(598)));self.assertEqual(val, "cinq cent quatre vingt dix huit")
        except: print "got "+val+", expected: cinq cent quatre vingt dix huit for 598";s.append(598)
        try: val=' '.join(self.french.transduce(prepare_input(599)));self.assertEqual(val, "cinq cent quatre vingt dix neuf")
        except: print "got "+val+", expected: cinq cent quatre vingt dix neuf for 599";s.append(599)
        try: val=' '.join(self.french.transduce(prepare_input(600)));self.assertEqual(val, "six cent")
        except: print "got "+val+", expected: six cent  for 600";s.append(600)
        try: val=' '.join(self.french.transduce(prepare_input(601)));self.assertEqual(val, "six cent un")
        except: print "got "+val+", expected: six cent un for 601";s.append(601)
        try: val=' '.join(self.french.transduce(prepare_input(602)));self.assertEqual(val, "six cent deux")
        except: print "got "+val+", expected: six cent deux for 602";s.append(602)
        try: val=' '.join(self.french.transduce(prepare_input(603)));self.assertEqual(val, "six cent trois")
        except: print "got "+val+", expected: six cent trois for 603";s.append(603)
        try: val=' '.join(self.french.transduce(prepare_input(604)));self.assertEqual(val, "six cent quatre")
        except: print "got "+val+", expected: six cent quatre for 604";s.append(604)
        try: val=' '.join(self.french.transduce(prepare_input(605)));self.assertEqual(val, "six cent cinq")
        except: print "got "+val+", expected: six cent cinq for 605";s.append(605)
        try: val=' '.join(self.french.transduce(prepare_input(606)));self.assertEqual(val, "six cent six")
        except: print "got "+val+", expected: six cent six for 606";s.append(606)
        try: val=' '.join(self.french.transduce(prepare_input(607)));self.assertEqual(val, "six cent sept")
        except: print "got "+val+", expected: six cent sept for 607";s.append(607)
        try: val=' '.join(self.french.transduce(prepare_input(608)));self.assertEqual(val, "six cent huit")
        except: print "got "+val+", expected: six cent huit for 608";s.append(608)
        try: val=' '.join(self.french.transduce(prepare_input(609)));self.assertEqual(val, "six cent neuf")
        except: print "got "+val+", expected: six cent neuf for 609";s.append(609)
        try: val=' '.join(self.french.transduce(prepare_input(610)));self.assertEqual(val, "six cent dix")
        except: print "got "+val+", expected: six cent dix for 610";s.append(610)
        try: val=' '.join(self.french.transduce(prepare_input(611)));self.assertEqual(val, "six cent onze")
        except: print "got "+val+", expected: six cent onze for 611";s.append(611)
        try: val=' '.join(self.french.transduce(prepare_input(612)));self.assertEqual(val, "six cent douze")
        except: print "got "+val+", expected: six cent douze for 612";s.append(612)
        try: val=' '.join(self.french.transduce(prepare_input(613)));self.assertEqual(val, "six cent treize")
        except: print "got "+val+", expected: six cent treize for 613";s.append(613)
        try: val=' '.join(self.french.transduce(prepare_input(614)));self.assertEqual(val, "six cent quatorze")
        except: print "got "+val+", expected: six cent quatorze for 614";s.append(614)
        try: val=' '.join(self.french.transduce(prepare_input(615)));self.assertEqual(val, "six cent quinze")
        except: print "got "+val+", expected: six cent quinze for 615";s.append(615)
        try: val=' '.join(self.french.transduce(prepare_input(616)));self.assertEqual(val, "six cent seize")
        except: print "got "+val+", expected: six cent seize for 616";s.append(616)
        try: val=' '.join(self.french.transduce(prepare_input(617)));self.assertEqual(val, "six cent dix sept")
        except: print "got "+val+", expected: six cent dix sept for 617";s.append(617)
        try: val=' '.join(self.french.transduce(prepare_input(618)));self.assertEqual(val, "six cent dix huit")
        except: print "got "+val+", expected: six cent dix huit for 618";s.append(618)
        try: val=' '.join(self.french.transduce(prepare_input(619)));self.assertEqual(val, "six cent dix neuf")
        except: print "got "+val+", expected: six cent dix neuf for 619";s.append(619)
        try: val=' '.join(self.french.transduce(prepare_input(620)));self.assertEqual(val, "six cent vingt")
        except: print "got "+val+", expected: six cent vingt for 620";s.append(620)
        try: val=' '.join(self.french.transduce(prepare_input(621)));self.assertEqual(val, "six cent vingt et un")
        except: print "got "+val+", expected: six cent vingt et un for 621";s.append(621)
        try: val=' '.join(self.french.transduce(prepare_input(622)));self.assertEqual(val, "six cent vingt deux")
        except: print "got "+val+", expected: six cent vingt deux for 622";s.append(622)
        try: val=' '.join(self.french.transduce(prepare_input(623)));self.assertEqual(val, "six cent vingt trois")
        except: print "got "+val+", expected: six cent vingt trois for 623";s.append(623)
        try: val=' '.join(self.french.transduce(prepare_input(624)));self.assertEqual(val, "six cent vingt quatre")
        except: print "got "+val+", expected: six cent vingt quatre for 624";s.append(624)
        try: val=' '.join(self.french.transduce(prepare_input(625)));self.assertEqual(val, "six cent vingt cinq")
        except: print "got "+val+", expected: six cent vingt cinq for 625";s.append(625)
        try: val=' '.join(self.french.transduce(prepare_input(626)));self.assertEqual(val, "six cent vingt six")
        except: print "got "+val+", expected: six cent vingt six for 626";s.append(626)
        try: val=' '.join(self.french.transduce(prepare_input(627)));self.assertEqual(val, "six cent vingt sept")
        except: print "got "+val+", expected: six cent vingt sept for 627";s.append(627)
        try: val=' '.join(self.french.transduce(prepare_input(628)));self.assertEqual(val, "six cent vingt huit")
        except: print "got "+val+", expected: six cent vingt huit for 628";s.append(628)
        try: val=' '.join(self.french.transduce(prepare_input(629)));self.assertEqual(val, "six cent vingt neuf")
        except: print "got "+val+", expected: six cent vingt neuf for 629";s.append(629)
        try: val=' '.join(self.french.transduce(prepare_input(630)));self.assertEqual(val, "six cent trente")
        except: print "got "+val+", expected: six cent trente for 630";s.append(630)
        try: val=' '.join(self.french.transduce(prepare_input(631)));self.assertEqual(val, "six cent trente et un")
        except: print "got "+val+", expected: six cent trente et un for 631";s.append(631)
        try: val=' '.join(self.french.transduce(prepare_input(632)));self.assertEqual(val, "six cent trente deux")
        except: print "got "+val+", expected: six cent trente deux for 632";s.append(632)
        try: val=' '.join(self.french.transduce(prepare_input(633)));self.assertEqual(val, "six cent trente trois")
        except: print "got "+val+", expected: six cent trente trois for 633";s.append(633)
        try: val=' '.join(self.french.transduce(prepare_input(634)));self.assertEqual(val, "six cent trente quatre")
        except: print "got "+val+", expected: six cent trente quatre for 634";s.append(634)
        try: val=' '.join(self.french.transduce(prepare_input(635)));self.assertEqual(val, "six cent trente cinq")
        except: print "got "+val+", expected: six cent trente cinq for 635";s.append(635)
        try: val=' '.join(self.french.transduce(prepare_input(636)));self.assertEqual(val, "six cent trente six")
        except: print "got "+val+", expected: six cent trente six for 636";s.append(636)
        try: val=' '.join(self.french.transduce(prepare_input(637)));self.assertEqual(val, "six cent trente sept")
        except: print "got "+val+", expected: six cent trente sept for 637";s.append(637)
        try: val=' '.join(self.french.transduce(prepare_input(638)));self.assertEqual(val, "six cent trente huit")
        except: print "got "+val+", expected: six cent trente huit for 638";s.append(638)
        try: val=' '.join(self.french.transduce(prepare_input(639)));self.assertEqual(val, "six cent trente neuf")
        except: print "got "+val+", expected: six cent trente neuf for 639";s.append(639)
        try: val=' '.join(self.french.transduce(prepare_input(640)));self.assertEqual(val, "six cent quarante")
        except: print "got "+val+", expected: six cent quarante for 640";s.append(640)
        try: val=' '.join(self.french.transduce(prepare_input(641)));self.assertEqual(val, "six cent quarante et un")
        except: print "got "+val+", expected: six cent quarante et un for 641";s.append(641)
        try: val=' '.join(self.french.transduce(prepare_input(642)));self.assertEqual(val, "six cent quarante deux")
        except: print "got "+val+", expected: six cent quarante deux for 642";s.append(642)
        try: val=' '.join(self.french.transduce(prepare_input(643)));self.assertEqual(val, "six cent quarante trois")
        except: print "got "+val+", expected: six cent quarante trois for 643";s.append(643)
        try: val=' '.join(self.french.transduce(prepare_input(644)));self.assertEqual(val, "six cent quarante quatre")
        except: print "got "+val+", expected: six cent quarante quatre for 644";s.append(644)
        try: val=' '.join(self.french.transduce(prepare_input(645)));self.assertEqual(val, "six cent quarante cinq")
        except: print "got "+val+", expected: six cent quarante cinq for 645";s.append(645)
        try: val=' '.join(self.french.transduce(prepare_input(646)));self.assertEqual(val, "six cent quarante six")
        except: print "got "+val+", expected: six cent quarante six for 646";s.append(646)
        try: val=' '.join(self.french.transduce(prepare_input(647)));self.assertEqual(val, "six cent quarante sept")
        except: print "got "+val+", expected: six cent quarante sept for 647";s.append(647)
        try: val=' '.join(self.french.transduce(prepare_input(648)));self.assertEqual(val, "six cent quarante huit")
        except: print "got "+val+", expected: six cent quarante huit for 648";s.append(648)
        try: val=' '.join(self.french.transduce(prepare_input(649)));self.assertEqual(val, "six cent quarante neuf")
        except: print "got "+val+", expected: six cent quarante neuf for 649";s.append(649)
        try: val=' '.join(self.french.transduce(prepare_input(650)));self.assertEqual(val, "six cent cinquante")
        except: print "got "+val+", expected: six cent cinquante for 650";s.append(650)
        try: val=' '.join(self.french.transduce(prepare_input(651)));self.assertEqual(val, "six cent cinquante et un")
        except: print "got "+val+", expected: six cent cinquante et un for 651";s.append(651)
        try: val=' '.join(self.french.transduce(prepare_input(652)));self.assertEqual(val, "six cent cinquante deux")
        except: print "got "+val+", expected: six cent cinquante deux for 652";s.append(652)
        try: val=' '.join(self.french.transduce(prepare_input(653)));self.assertEqual(val, "six cent cinquante trois")
        except: print "got "+val+", expected: six cent cinquante trois for 653";s.append(653)
        try: val=' '.join(self.french.transduce(prepare_input(654)));self.assertEqual(val, "six cent cinquante quatre")
        except: print "got "+val+", expected: six cent cinquante quatre for 654";s.append(654)
        try: val=' '.join(self.french.transduce(prepare_input(655)));self.assertEqual(val, "six cent cinquante cinq")
        except: print "got "+val+", expected: six cent cinquante cinq for 655";s.append(655)
        try: val=' '.join(self.french.transduce(prepare_input(656)));self.assertEqual(val, "six cent cinquante six")
        except: print "got "+val+", expected: six cent cinquante six for 656";s.append(656)
        try: val=' '.join(self.french.transduce(prepare_input(657)));self.assertEqual(val, "six cent cinquante sept")
        except: print "got "+val+", expected: six cent cinquante sept for 657";s.append(657)
        try: val=' '.join(self.french.transduce(prepare_input(658)));self.assertEqual(val, "six cent cinquante huit")
        except: print "got "+val+", expected: six cent cinquante huit for 658";s.append(658)
        try: val=' '.join(self.french.transduce(prepare_input(659)));self.assertEqual(val, "six cent cinquante neuf")
        except: print "got "+val+", expected: six cent cinquante neuf for 659";s.append(659)
        try: val=' '.join(self.french.transduce(prepare_input(660)));self.assertEqual(val, "six cent soixante")
        except: print "got "+val+", expected: six cent soixante for 660";s.append(660)
        try: val=' '.join(self.french.transduce(prepare_input(661)));self.assertEqual(val, "six cent soixante et un")
        except: print "got "+val+", expected: six cent soixante et un for 661";s.append(661)
        try: val=' '.join(self.french.transduce(prepare_input(662)));self.assertEqual(val, "six cent soixante deux")
        except: print "got "+val+", expected: six cent soixante deux for 662";s.append(662)
        try: val=' '.join(self.french.transduce(prepare_input(663)));self.assertEqual(val, "six cent soixante trois")
        except: print "got "+val+", expected: six cent soixante trois for 663";s.append(663)
        try: val=' '.join(self.french.transduce(prepare_input(664)));self.assertEqual(val, "six cent soixante quatre")
        except: print "got "+val+", expected: six cent soixante quatre for 664";s.append(664)
        try: val=' '.join(self.french.transduce(prepare_input(665)));self.assertEqual(val, "six cent soixante cinq")
        except: print "got "+val+", expected: six cent soixante cinq for 665";s.append(665)
        try: val=' '.join(self.french.transduce(prepare_input(666)));self.assertEqual(val, "six cent soixante six")
        except: print "got "+val+", expected: six cent soixante six for 666";s.append(666)
        try: val=' '.join(self.french.transduce(prepare_input(667)));self.assertEqual(val, "six cent soixante sept")
        except: print "got "+val+", expected: six cent soixante sept for 667";s.append(667)
        try: val=' '.join(self.french.transduce(prepare_input(668)));self.assertEqual(val, "six cent soixante huit")
        except: print "got "+val+", expected: six cent soixante huit for 668";s.append(668)
        try: val=' '.join(self.french.transduce(prepare_input(669)));self.assertEqual(val, "six cent soixante neuf")
        except: print "got "+val+", expected: six cent soixante neuf for 669";s.append(669)
        try: val=' '.join(self.french.transduce(prepare_input(670)));self.assertEqual(val, "six cent soixante dix")
        except: print "got "+val+", expected: six cent soixante dix for 670";s.append(670)
        try: val=' '.join(self.french.transduce(prepare_input(671)));self.assertEqual(val, "six cent soixante et onze")
        except: print "got "+val+", expected: six cent soixante et onze for 671";s.append(671)
        try: val=' '.join(self.french.transduce(prepare_input(672)));self.assertEqual(val, "six cent soixante douze")
        except: print "got "+val+", expected: six cent soixante douze for 672";s.append(672)
        try: val=' '.join(self.french.transduce(prepare_input(673)));self.assertEqual(val, "six cent soixante treize")
        except: print "got "+val+", expected: six cent soixante treize for 673";s.append(673)
        try: val=' '.join(self.french.transduce(prepare_input(674)));self.assertEqual(val, "six cent soixante quatorze")
        except: print "got "+val+", expected: six cent soixante quatorze for 674";s.append(674)
        try: val=' '.join(self.french.transduce(prepare_input(675)));self.assertEqual(val, "six cent soixante quinze")
        except: print "got "+val+", expected: six cent soixante quinze for 675";s.append(675)
        try: val=' '.join(self.french.transduce(prepare_input(676)));self.assertEqual(val, "six cent soixante seize")
        except: print "got "+val+", expected: six cent soixante seize for 676";s.append(676)
        try: val=' '.join(self.french.transduce(prepare_input(677)));self.assertEqual(val, "six cent soixante dix sept")
        except: print "got "+val+", expected: six cent soixante dix sept for 677";s.append(677)
        try: val=' '.join(self.french.transduce(prepare_input(678)));self.assertEqual(val, "six cent soixante dix huit")
        except: print "got "+val+", expected: six cent soixante dix huit for 678";s.append(678)
        try: val=' '.join(self.french.transduce(prepare_input(679)));self.assertEqual(val, "six cent soixante dix neuf")
        except: print "got "+val+", expected: six cent soixante dix neuf for 679";s.append(679)
        try: val=' '.join(self.french.transduce(prepare_input(680)));self.assertEqual(val, "six cent quatre vingt")
        except: print "got "+val+", expected: six cent quatre vingt for 680";s.append(680)
        try: val=' '.join(self.french.transduce(prepare_input(681)));self.assertEqual(val, "six cent quatre vingt un")
        except: print "got "+val+", expected: six cent quatre vingt un for 681";s.append(681)
        try: val=' '.join(self.french.transduce(prepare_input(682)));self.assertEqual(val, "six cent quatre vingt deux")
        except: print "got "+val+", expected: six cent quatre vingt deux for 682";s.append(682)
        try: val=' '.join(self.french.transduce(prepare_input(683)));self.assertEqual(val, "six cent quatre vingt trois")
        except: print "got "+val+", expected: six cent quatre vingt trois for 683";s.append(683)
        try: val=' '.join(self.french.transduce(prepare_input(684)));self.assertEqual(val, "six cent quatre vingt quatre")
        except: print "got "+val+", expected: six cent quatre vingt quatre for 684";s.append(684)
        try: val=' '.join(self.french.transduce(prepare_input(685)));self.assertEqual(val, "six cent quatre vingt cinq")
        except: print "got "+val+", expected: six cent quatre vingt cinq for 685";s.append(685)
        try: val=' '.join(self.french.transduce(prepare_input(686)));self.assertEqual(val, "six cent quatre vingt six")
        except: print "got "+val+", expected: six cent quatre vingt six for 686";s.append(686)
        try: val=' '.join(self.french.transduce(prepare_input(687)));self.assertEqual(val, "six cent quatre vingt sept")
        except: print "got "+val+", expected: six cent quatre vingt sept for 687";s.append(687)
        try: val=' '.join(self.french.transduce(prepare_input(688)));self.assertEqual(val, "six cent quatre vingt huit")
        except: print "got "+val+", expected: six cent quatre vingt huit for 688";s.append(688)
        try: val=' '.join(self.french.transduce(prepare_input(689)));self.assertEqual(val, "six cent quatre vingt neuf")
        except: print "got "+val+", expected: six cent quatre vingt neuf for 689";s.append(689)
        try: val=' '.join(self.french.transduce(prepare_input(690)));self.assertEqual(val, "six cent quatre vingt dix")
        except: print "got "+val+", expected: six cent quatre vingt dix for 690";s.append(690)
        try: val=' '.join(self.french.transduce(prepare_input(691)));self.assertEqual(val, "six cent quatre vingt onze")
        except: print "got "+val+", expected: six cent quatre vingt onze for 691";s.append(691)
        try: val=' '.join(self.french.transduce(prepare_input(692)));self.assertEqual(val, "six cent quatre vingt douze")
        except: print "got "+val+", expected: six cent quatre vingt douze for 692";s.append(692)
        try: val=' '.join(self.french.transduce(prepare_input(693)));self.assertEqual(val, "six cent quatre vingt treize")
        except: print "got "+val+", expected: six cent quatre vingt treize for 693";s.append(693)
        try: val=' '.join(self.french.transduce(prepare_input(694)));self.assertEqual(val, "six cent quatre vingt quatorze")
        except: print "got "+val+", expected: six cent quatre vingt quatorze for 694";s.append(694)
        try: val=' '.join(self.french.transduce(prepare_input(695)));self.assertEqual(val, "six cent quatre vingt quinze")
        except: print "got "+val+", expected: six cent quatre vingt quinze for 695";s.append(695)
        try: val=' '.join(self.french.transduce(prepare_input(696)));self.assertEqual(val, "six cent quatre vingt seize")
        except: print "got "+val+", expected: six cent quatre vingt seize for 696";s.append(696)
        try: val=' '.join(self.french.transduce(prepare_input(697)));self.assertEqual(val, "six cent quatre vingt dix sept")
        except: print "got "+val+", expected: six cent quatre vingt dix sept for 697";s.append(697)
        try: val=' '.join(self.french.transduce(prepare_input(698)));self.assertEqual(val, "six cent quatre vingt dix huit")
        except: print "got "+val+", expected: six cent quatre vingt dix huit for 698";s.append(698)
        try: val=' '.join(self.french.transduce(prepare_input(699)));self.assertEqual(val, "six cent quatre vingt dix neuf")
        except: print "got "+val+", expected: six cent quatre vingt dix neuf for 699";s.append(699)
        try: val=' '.join(self.french.transduce(prepare_input(700)));self.assertEqual(val, "sept cent")
        except: print "got "+val+", expected: sept cent  for 700";s.append(700)
        try: val=' '.join(self.french.transduce(prepare_input(701)));self.assertEqual(val, "sept cent un")
        except: print "got "+val+", expected: sept cent un for 701";s.append(701)
        try: val=' '.join(self.french.transduce(prepare_input(702)));self.assertEqual(val, "sept cent deux")
        except: print "got "+val+", expected: sept cent deux for 702";s.append(702)
        try: val=' '.join(self.french.transduce(prepare_input(703)));self.assertEqual(val, "sept cent trois")
        except: print "got "+val+", expected: sept cent trois for 703";s.append(703)
        try: val=' '.join(self.french.transduce(prepare_input(704)));self.assertEqual(val, "sept cent quatre")
        except: print "got "+val+", expected: sept cent quatre for 704";s.append(704)
        try: val=' '.join(self.french.transduce(prepare_input(705)));self.assertEqual(val, "sept cent cinq")
        except: print "got "+val+", expected: sept cent cinq for 705";s.append(705)
        try: val=' '.join(self.french.transduce(prepare_input(706)));self.assertEqual(val, "sept cent six")
        except: print "got "+val+", expected: sept cent six for 706";s.append(706)
        try: val=' '.join(self.french.transduce(prepare_input(707)));self.assertEqual(val, "sept cent sept")
        except: print "got "+val+", expected: sept cent sept for 707";s.append(707)
        try: val=' '.join(self.french.transduce(prepare_input(708)));self.assertEqual(val, "sept cent huit")
        except: print "got "+val+", expected: sept cent huit for 708";s.append(708)
        try: val=' '.join(self.french.transduce(prepare_input(709)));self.assertEqual(val, "sept cent neuf")
        except: print "got "+val+", expected: sept cent neuf for 709";s.append(709)
        try: val=' '.join(self.french.transduce(prepare_input(710)));self.assertEqual(val, "sept cent dix")
        except: print "got "+val+", expected: sept cent dix for 710";s.append(710)
        try: val=' '.join(self.french.transduce(prepare_input(711)));self.assertEqual(val, "sept cent onze")
        except: print "got "+val+", expected: sept cent onze for 711";s.append(711)
        try: val=' '.join(self.french.transduce(prepare_input(712)));self.assertEqual(val, "sept cent douze")
        except: print "got "+val+", expected: sept cent douze for 712";s.append(712)
        try: val=' '.join(self.french.transduce(prepare_input(713)));self.assertEqual(val, "sept cent treize")
        except: print "got "+val+", expected: sept cent treize for 713";s.append(713)
        try: val=' '.join(self.french.transduce(prepare_input(714)));self.assertEqual(val, "sept cent quatorze")
        except: print "got "+val+", expected: sept cent quatorze for 714";s.append(714)
        try: val=' '.join(self.french.transduce(prepare_input(715)));self.assertEqual(val, "sept cent quinze")
        except: print "got "+val+", expected: sept cent quinze for 715";s.append(715)
        try: val=' '.join(self.french.transduce(prepare_input(716)));self.assertEqual(val, "sept cent seize")
        except: print "got "+val+", expected: sept cent seize for 716";s.append(716)
        try: val=' '.join(self.french.transduce(prepare_input(717)));self.assertEqual(val, "sept cent dix sept")
        except: print "got "+val+", expected: sept cent dix sept for 717";s.append(717)
        try: val=' '.join(self.french.transduce(prepare_input(718)));self.assertEqual(val, "sept cent dix huit")
        except: print "got "+val+", expected: sept cent dix huit for 718";s.append(718)
        try: val=' '.join(self.french.transduce(prepare_input(719)));self.assertEqual(val, "sept cent dix neuf")
        except: print "got "+val+", expected: sept cent dix neuf for 719";s.append(719)
        try: val=' '.join(self.french.transduce(prepare_input(720)));self.assertEqual(val, "sept cent vingt")
        except: print "got "+val+", expected: sept cent vingt for 720";s.append(720)
        try: val=' '.join(self.french.transduce(prepare_input(721)));self.assertEqual(val, "sept cent vingt et un")
        except: print "got "+val+", expected: sept cent vingt et un for 721";s.append(721)
        try: val=' '.join(self.french.transduce(prepare_input(722)));self.assertEqual(val, "sept cent vingt deux")
        except: print "got "+val+", expected: sept cent vingt deux for 722";s.append(722)
        try: val=' '.join(self.french.transduce(prepare_input(723)));self.assertEqual(val, "sept cent vingt trois")
        except: print "got "+val+", expected: sept cent vingt trois for 723";s.append(723)
        try: val=' '.join(self.french.transduce(prepare_input(724)));self.assertEqual(val, "sept cent vingt quatre")
        except: print "got "+val+", expected: sept cent vingt quatre for 724";s.append(724)
        try: val=' '.join(self.french.transduce(prepare_input(725)));self.assertEqual(val, "sept cent vingt cinq")
        except: print "got "+val+", expected: sept cent vingt cinq for 725";s.append(725)
        try: val=' '.join(self.french.transduce(prepare_input(726)));self.assertEqual(val, "sept cent vingt six")
        except: print "got "+val+", expected: sept cent vingt six for 726";s.append(726)
        try: val=' '.join(self.french.transduce(prepare_input(727)));self.assertEqual(val, "sept cent vingt sept")
        except: print "got "+val+", expected: sept cent vingt sept for 727";s.append(727)
        try: val=' '.join(self.french.transduce(prepare_input(728)));self.assertEqual(val, "sept cent vingt huit")
        except: print "got "+val+", expected: sept cent vingt huit for 728";s.append(728)
        try: val=' '.join(self.french.transduce(prepare_input(729)));self.assertEqual(val, "sept cent vingt neuf")
        except: print "got "+val+", expected: sept cent vingt neuf for 729";s.append(729)
        try: val=' '.join(self.french.transduce(prepare_input(730)));self.assertEqual(val, "sept cent trente")
        except: print "got "+val+", expected: sept cent trente for 730";s.append(730)
        try: val=' '.join(self.french.transduce(prepare_input(731)));self.assertEqual(val, "sept cent trente et un")
        except: print "got "+val+", expected: sept cent trente et un for 731";s.append(731)
        try: val=' '.join(self.french.transduce(prepare_input(732)));self.assertEqual(val, "sept cent trente deux")
        except: print "got "+val+", expected: sept cent trente deux for 732";s.append(732)
        try: val=' '.join(self.french.transduce(prepare_input(733)));self.assertEqual(val, "sept cent trente trois")
        except: print "got "+val+", expected: sept cent trente trois for 733";s.append(733)
        try: val=' '.join(self.french.transduce(prepare_input(734)));self.assertEqual(val, "sept cent trente quatre")
        except: print "got "+val+", expected: sept cent trente quatre for 734";s.append(734)
        try: val=' '.join(self.french.transduce(prepare_input(735)));self.assertEqual(val, "sept cent trente cinq")
        except: print "got "+val+", expected: sept cent trente cinq for 735";s.append(735)
        try: val=' '.join(self.french.transduce(prepare_input(736)));self.assertEqual(val, "sept cent trente six")
        except: print "got "+val+", expected: sept cent trente six for 736";s.append(736)
        try: val=' '.join(self.french.transduce(prepare_input(737)));self.assertEqual(val, "sept cent trente sept")
        except: print "got "+val+", expected: sept cent trente sept for 737";s.append(737)
        try: val=' '.join(self.french.transduce(prepare_input(738)));self.assertEqual(val, "sept cent trente huit")
        except: print "got "+val+", expected: sept cent trente huit for 738";s.append(738)
        try: val=' '.join(self.french.transduce(prepare_input(739)));self.assertEqual(val, "sept cent trente neuf")
        except: print "got "+val+", expected: sept cent trente neuf for 739";s.append(739)
        try: val=' '.join(self.french.transduce(prepare_input(740)));self.assertEqual(val, "sept cent quarante")
        except: print "got "+val+", expected: sept cent quarante for 740";s.append(740)
        try: val=' '.join(self.french.transduce(prepare_input(741)));self.assertEqual(val, "sept cent quarante et un")
        except: print "got "+val+", expected: sept cent quarante et un for 741";s.append(741)
        try: val=' '.join(self.french.transduce(prepare_input(742)));self.assertEqual(val, "sept cent quarante deux")
        except: print "got "+val+", expected: sept cent quarante deux for 742";s.append(742)
        try: val=' '.join(self.french.transduce(prepare_input(743)));self.assertEqual(val, "sept cent quarante trois")
        except: print "got "+val+", expected: sept cent quarante trois for 743";s.append(743)
        try: val=' '.join(self.french.transduce(prepare_input(744)));self.assertEqual(val, "sept cent quarante quatre")
        except: print "got "+val+", expected: sept cent quarante quatre for 744";s.append(744)
        try: val=' '.join(self.french.transduce(prepare_input(745)));self.assertEqual(val, "sept cent quarante cinq")
        except: print "got "+val+", expected: sept cent quarante cinq for 745";s.append(745)
        try: val=' '.join(self.french.transduce(prepare_input(746)));self.assertEqual(val, "sept cent quarante six")
        except: print "got "+val+", expected: sept cent quarante six for 746";s.append(746)
        try: val=' '.join(self.french.transduce(prepare_input(747)));self.assertEqual(val, "sept cent quarante sept")
        except: print "got "+val+", expected: sept cent quarante sept for 747";s.append(747)
        try: val=' '.join(self.french.transduce(prepare_input(748)));self.assertEqual(val, "sept cent quarante huit")
        except: print "got "+val+", expected: sept cent quarante huit for 748";s.append(748)
        try: val=' '.join(self.french.transduce(prepare_input(749)));self.assertEqual(val, "sept cent quarante neuf")
        except: print "got "+val+", expected: sept cent quarante neuf for 749";s.append(749)
        try: val=' '.join(self.french.transduce(prepare_input(750)));self.assertEqual(val, "sept cent cinquante")
        except: print "got "+val+", expected: sept cent cinquante for 750";s.append(750)
        try: val=' '.join(self.french.transduce(prepare_input(751)));self.assertEqual(val, "sept cent cinquante et un")
        except: print "got "+val+", expected: sept cent cinquante et un for 751";s.append(751)
        try: val=' '.join(self.french.transduce(prepare_input(752)));self.assertEqual(val, "sept cent cinquante deux")
        except: print "got "+val+", expected: sept cent cinquante deux for 752";s.append(752)
        try: val=' '.join(self.french.transduce(prepare_input(753)));self.assertEqual(val, "sept cent cinquante trois")
        except: print "got "+val+", expected: sept cent cinquante trois for 753";s.append(753)
        try: val=' '.join(self.french.transduce(prepare_input(754)));self.assertEqual(val, "sept cent cinquante quatre")
        except: print "got "+val+", expected: sept cent cinquante quatre for 754";s.append(754)
        try: val=' '.join(self.french.transduce(prepare_input(755)));self.assertEqual(val, "sept cent cinquante cinq")
        except: print "got "+val+", expected: sept cent cinquante cinq for 755";s.append(755)
        try: val=' '.join(self.french.transduce(prepare_input(756)));self.assertEqual(val, "sept cent cinquante six")
        except: print "got "+val+", expected: sept cent cinquante six for 756";s.append(756)
        try: val=' '.join(self.french.transduce(prepare_input(757)));self.assertEqual(val, "sept cent cinquante sept")
        except: print "got "+val+", expected: sept cent cinquante sept for 757";s.append(757)
        try: val=' '.join(self.french.transduce(prepare_input(758)));self.assertEqual(val, "sept cent cinquante huit")
        except: print "got "+val+", expected: sept cent cinquante huit for 758";s.append(758)
        try: val=' '.join(self.french.transduce(prepare_input(759)));self.assertEqual(val, "sept cent cinquante neuf")
        except: print "got "+val+", expected: sept cent cinquante neuf for 759";s.append(759)
        try: val=' '.join(self.french.transduce(prepare_input(760)));self.assertEqual(val, "sept cent soixante")
        except: print "got "+val+", expected: sept cent soixante for 760";s.append(760)
        try: val=' '.join(self.french.transduce(prepare_input(761)));self.assertEqual(val, "sept cent soixante et un")
        except: print "got "+val+", expected: sept cent soixante et un for 761";s.append(761)
        try: val=' '.join(self.french.transduce(prepare_input(762)));self.assertEqual(val, "sept cent soixante deux")
        except: print "got "+val+", expected: sept cent soixante deux for 762";s.append(762)
        try: val=' '.join(self.french.transduce(prepare_input(763)));self.assertEqual(val, "sept cent soixante trois")
        except: print "got "+val+", expected: sept cent soixante trois for 763";s.append(763)
        try: val=' '.join(self.french.transduce(prepare_input(764)));self.assertEqual(val, "sept cent soixante quatre")
        except: print "got "+val+", expected: sept cent soixante quatre for 764";s.append(764)
        try: val=' '.join(self.french.transduce(prepare_input(765)));self.assertEqual(val, "sept cent soixante cinq")
        except: print "got "+val+", expected: sept cent soixante cinq for 765";s.append(765)
        try: val=' '.join(self.french.transduce(prepare_input(766)));self.assertEqual(val, "sept cent soixante six")
        except: print "got "+val+", expected: sept cent soixante six for 766";s.append(766)
        try: val=' '.join(self.french.transduce(prepare_input(767)));self.assertEqual(val, "sept cent soixante sept")
        except: print "got "+val+", expected: sept cent soixante sept for 767";s.append(767)
        try: val=' '.join(self.french.transduce(prepare_input(768)));self.assertEqual(val, "sept cent soixante huit")
        except: print "got "+val+", expected: sept cent soixante huit for 768";s.append(768)
        try: val=' '.join(self.french.transduce(prepare_input(769)));self.assertEqual(val, "sept cent soixante neuf")
        except: print "got "+val+", expected: sept cent soixante neuf for 769";s.append(769)
        try: val=' '.join(self.french.transduce(prepare_input(770)));self.assertEqual(val, "sept cent soixante dix")
        except: print "got "+val+", expected: sept cent soixante dix for 770";s.append(770)
        try: val=' '.join(self.french.transduce(prepare_input(771)));self.assertEqual(val, "sept cent soixante et onze")
        except: print "got "+val+", expected: sept cent soixante et onze for 771";s.append(771)
        try: val=' '.join(self.french.transduce(prepare_input(772)));self.assertEqual(val, "sept cent soixante douze")
        except: print "got "+val+", expected: sept cent soixante douze for 772";s.append(772)
        try: val=' '.join(self.french.transduce(prepare_input(773)));self.assertEqual(val, "sept cent soixante treize")
        except: print "got "+val+", expected: sept cent soixante treize for 773";s.append(773)
        try: val=' '.join(self.french.transduce(prepare_input(774)));self.assertEqual(val, "sept cent soixante quatorze")
        except: print "got "+val+", expected: sept cent soixante quatorze for 774";s.append(774)
        try: val=' '.join(self.french.transduce(prepare_input(775)));self.assertEqual(val, "sept cent soixante quinze")
        except: print "got "+val+", expected: sept cent soixante quinze for 775";s.append(775)
        try: val=' '.join(self.french.transduce(prepare_input(776)));self.assertEqual(val, "sept cent soixante seize")
        except: print "got "+val+", expected: sept cent soixante seize for 776";s.append(776)
        try: val=' '.join(self.french.transduce(prepare_input(777)));self.assertEqual(val, "sept cent soixante dix sept")
        except: print "got "+val+", expected: sept cent soixante dix sept for 777";s.append(777)
        try: val=' '.join(self.french.transduce(prepare_input(778)));self.assertEqual(val, "sept cent soixante dix huit")
        except: print "got "+val+", expected: sept cent soixante dix huit for 778";s.append(778)
        try: val=' '.join(self.french.transduce(prepare_input(779)));self.assertEqual(val, "sept cent soixante dix neuf")
        except: print "got "+val+", expected: sept cent soixante dix neuf for 779";s.append(779)
        try: val=' '.join(self.french.transduce(prepare_input(780)));self.assertEqual(val, "sept cent quatre vingt")
        except: print "got "+val+", expected: sept cent quatre vingt for 780";s.append(780)
        try: val=' '.join(self.french.transduce(prepare_input(781)));self.assertEqual(val, "sept cent quatre vingt un")
        except: print "got "+val+", expected: sept cent quatre vingt un for 781";s.append(781)
        try: val=' '.join(self.french.transduce(prepare_input(782)));self.assertEqual(val, "sept cent quatre vingt deux")
        except: print "got "+val+", expected: sept cent quatre vingt deux for 782";s.append(782)
        try: val=' '.join(self.french.transduce(prepare_input(783)));self.assertEqual(val, "sept cent quatre vingt trois")
        except: print "got "+val+", expected: sept cent quatre vingt trois for 783";s.append(783)
        try: val=' '.join(self.french.transduce(prepare_input(784)));self.assertEqual(val, "sept cent quatre vingt quatre")
        except: print "got "+val+", expected: sept cent quatre vingt quatre for 784";s.append(784)
        try: val=' '.join(self.french.transduce(prepare_input(785)));self.assertEqual(val, "sept cent quatre vingt cinq")
        except: print "got "+val+", expected: sept cent quatre vingt cinq for 785";s.append(785)
        try: val=' '.join(self.french.transduce(prepare_input(786)));self.assertEqual(val, "sept cent quatre vingt six")
        except: print "got "+val+", expected: sept cent quatre vingt six for 786";s.append(786)
        try: val=' '.join(self.french.transduce(prepare_input(787)));self.assertEqual(val, "sept cent quatre vingt sept")
        except: print "got "+val+", expected: sept cent quatre vingt sept for 787";s.append(787)
        try: val=' '.join(self.french.transduce(prepare_input(788)));self.assertEqual(val, "sept cent quatre vingt huit")
        except: print "got "+val+", expected: sept cent quatre vingt huit for 788";s.append(788)
        try: val=' '.join(self.french.transduce(prepare_input(789)));self.assertEqual(val, "sept cent quatre vingt neuf")
        except: print "got "+val+", expected: sept cent quatre vingt neuf for 789";s.append(789)
        try: val=' '.join(self.french.transduce(prepare_input(790)));self.assertEqual(val, "sept cent quatre vingt dix")
        except: print "got "+val+", expected: sept cent quatre vingt dix for 790";s.append(790)
        try: val=' '.join(self.french.transduce(prepare_input(791)));self.assertEqual(val, "sept cent quatre vingt onze")
        except: print "got "+val+", expected: sept cent quatre vingt onze for 791";s.append(791)
        try: val=' '.join(self.french.transduce(prepare_input(792)));self.assertEqual(val, "sept cent quatre vingt douze")
        except: print "got "+val+", expected: sept cent quatre vingt douze for 792";s.append(792)
        try: val=' '.join(self.french.transduce(prepare_input(793)));self.assertEqual(val, "sept cent quatre vingt treize")
        except: print "got "+val+", expected: sept cent quatre vingt treize for 793";s.append(793)
        try: val=' '.join(self.french.transduce(prepare_input(794)));self.assertEqual(val, "sept cent quatre vingt quatorze")
        except: print "got "+val+", expected: sept cent quatre vingt quatorze for 794";s.append(794)
        try: val=' '.join(self.french.transduce(prepare_input(795)));self.assertEqual(val, "sept cent quatre vingt quinze")
        except: print "got "+val+", expected: sept cent quatre vingt quinze for 795";s.append(795)
        try: val=' '.join(self.french.transduce(prepare_input(796)));self.assertEqual(val, "sept cent quatre vingt seize")
        except: print "got "+val+", expected: sept cent quatre vingt seize for 796";s.append(796)
        try: val=' '.join(self.french.transduce(prepare_input(797)));self.assertEqual(val, "sept cent quatre vingt dix sept")
        except: print "got "+val+", expected: sept cent quatre vingt dix sept for 797";s.append(797)
        try: val=' '.join(self.french.transduce(prepare_input(798)));self.assertEqual(val, "sept cent quatre vingt dix huit")
        except: print "got "+val+", expected: sept cent quatre vingt dix huit for 798";s.append(798)
        try: val=' '.join(self.french.transduce(prepare_input(799)));self.assertEqual(val, "sept cent quatre vingt dix neuf")
        except: print "got "+val+", expected: sept cent quatre vingt dix neuf for 799";s.append(799)
        try: val=' '.join(self.french.transduce(prepare_input(800)));self.assertEqual(val, "huit cent")
        except: print "got "+val+", expected: huit cent  for 800";s.append(800)
        try: val=' '.join(self.french.transduce(prepare_input(801)));self.assertEqual(val, "huit cent un")
        except: print "got "+val+", expected: huit cent un for 801";s.append(801)
        try: val=' '.join(self.french.transduce(prepare_input(802)));self.assertEqual(val, "huit cent deux")
        except: print "got "+val+", expected: huit cent deux for 802";s.append(802)
        try: val=' '.join(self.french.transduce(prepare_input(803)));self.assertEqual(val, "huit cent trois")
        except: print "got "+val+", expected: huit cent trois for 803";s.append(803)
        try: val=' '.join(self.french.transduce(prepare_input(804)));self.assertEqual(val, "huit cent quatre")
        except: print "got "+val+", expected: huit cent quatre for 804";s.append(804)
        try: val=' '.join(self.french.transduce(prepare_input(805)));self.assertEqual(val, "huit cent cinq")
        except: print "got "+val+", expected: huit cent cinq for 805";s.append(805)
        try: val=' '.join(self.french.transduce(prepare_input(806)));self.assertEqual(val, "huit cent six")
        except: print "got "+val+", expected: huit cent six for 806";s.append(806)
        try: val=' '.join(self.french.transduce(prepare_input(807)));self.assertEqual(val, "huit cent sept")
        except: print "got "+val+", expected: huit cent sept for 807";s.append(807)
        try: val=' '.join(self.french.transduce(prepare_input(808)));self.assertEqual(val, "huit cent huit")
        except: print "got "+val+", expected: huit cent huit for 808";s.append(808)
        try: val=' '.join(self.french.transduce(prepare_input(809)));self.assertEqual(val, "huit cent neuf")
        except: print "got "+val+", expected: huit cent neuf for 809";s.append(809)
        try: val=' '.join(self.french.transduce(prepare_input(810)));self.assertEqual(val, "huit cent dix")
        except: print "got "+val+", expected: huit cent dix for 810";s.append(810)
        try: val=' '.join(self.french.transduce(prepare_input(811)));self.assertEqual(val, "huit cent onze")
        except: print "got "+val+", expected: huit cent onze for 811";s.append(811)
        try: val=' '.join(self.french.transduce(prepare_input(812)));self.assertEqual(val, "huit cent douze")
        except: print "got "+val+", expected: huit cent douze for 812";s.append(812)
        try: val=' '.join(self.french.transduce(prepare_input(813)));self.assertEqual(val, "huit cent treize")
        except: print "got "+val+", expected: huit cent treize for 813";s.append(813)
        try: val=' '.join(self.french.transduce(prepare_input(814)));self.assertEqual(val, "huit cent quatorze")
        except: print "got "+val+", expected: huit cent quatorze for 814";s.append(814)
        try: val=' '.join(self.french.transduce(prepare_input(815)));self.assertEqual(val, "huit cent quinze")
        except: print "got "+val+", expected: huit cent quinze for 815";s.append(815)
        try: val=' '.join(self.french.transduce(prepare_input(816)));self.assertEqual(val, "huit cent seize")
        except: print "got "+val+", expected: huit cent seize for 816";s.append(816)
        try: val=' '.join(self.french.transduce(prepare_input(817)));self.assertEqual(val, "huit cent dix sept")
        except: print "got "+val+", expected: huit cent dix sept for 817";s.append(817)
        try: val=' '.join(self.french.transduce(prepare_input(818)));self.assertEqual(val, "huit cent dix huit")
        except: print "got "+val+", expected: huit cent dix huit for 818";s.append(818)
        try: val=' '.join(self.french.transduce(prepare_input(819)));self.assertEqual(val, "huit cent dix neuf")
        except: print "got "+val+", expected: huit cent dix neuf for 819";s.append(819)
        try: val=' '.join(self.french.transduce(prepare_input(820)));self.assertEqual(val, "huit cent vingt")
        except: print "got "+val+", expected: huit cent vingt for 820";s.append(820)
        try: val=' '.join(self.french.transduce(prepare_input(821)));self.assertEqual(val, "huit cent vingt et un")
        except: print "got "+val+", expected: huit cent vingt et un for 821";s.append(821)
        try: val=' '.join(self.french.transduce(prepare_input(822)));self.assertEqual(val, "huit cent vingt deux")
        except: print "got "+val+", expected: huit cent vingt deux for 822";s.append(822)
        try: val=' '.join(self.french.transduce(prepare_input(823)));self.assertEqual(val, "huit cent vingt trois")
        except: print "got "+val+", expected: huit cent vingt trois for 823";s.append(823)
        try: val=' '.join(self.french.transduce(prepare_input(824)));self.assertEqual(val, "huit cent vingt quatre")
        except: print "got "+val+", expected: huit cent vingt quatre for 824";s.append(824)
        try: val=' '.join(self.french.transduce(prepare_input(825)));self.assertEqual(val, "huit cent vingt cinq")
        except: print "got "+val+", expected: huit cent vingt cinq for 825";s.append(825)
        try: val=' '.join(self.french.transduce(prepare_input(826)));self.assertEqual(val, "huit cent vingt six")
        except: print "got "+val+", expected: huit cent vingt six for 826";s.append(826)
        try: val=' '.join(self.french.transduce(prepare_input(827)));self.assertEqual(val, "huit cent vingt sept")
        except: print "got "+val+", expected: huit cent vingt sept for 827";s.append(827)
        try: val=' '.join(self.french.transduce(prepare_input(828)));self.assertEqual(val, "huit cent vingt huit")
        except: print "got "+val+", expected: huit cent vingt huit for 828";s.append(828)
        try: val=' '.join(self.french.transduce(prepare_input(829)));self.assertEqual(val, "huit cent vingt neuf")
        except: print "got "+val+", expected: huit cent vingt neuf for 829";s.append(829)
        try: val=' '.join(self.french.transduce(prepare_input(830)));self.assertEqual(val, "huit cent trente")
        except: print "got "+val+", expected: huit cent trente for 830";s.append(830)
        try: val=' '.join(self.french.transduce(prepare_input(831)));self.assertEqual(val, "huit cent trente et un")
        except: print "got "+val+", expected: huit cent trente et un for 831";s.append(831)
        try: val=' '.join(self.french.transduce(prepare_input(832)));self.assertEqual(val, "huit cent trente deux")
        except: print "got "+val+", expected: huit cent trente deux for 832";s.append(832)
        try: val=' '.join(self.french.transduce(prepare_input(833)));self.assertEqual(val, "huit cent trente trois")
        except: print "got "+val+", expected: huit cent trente trois for 833";s.append(833)
        try: val=' '.join(self.french.transduce(prepare_input(834)));self.assertEqual(val, "huit cent trente quatre")
        except: print "got "+val+", expected: huit cent trente quatre for 834";s.append(834)
        try: val=' '.join(self.french.transduce(prepare_input(835)));self.assertEqual(val, "huit cent trente cinq")
        except: print "got "+val+", expected: huit cent trente cinq for 835";s.append(835)
        try: val=' '.join(self.french.transduce(prepare_input(836)));self.assertEqual(val, "huit cent trente six")
        except: print "got "+val+", expected: huit cent trente six for 836";s.append(836)
        try: val=' '.join(self.french.transduce(prepare_input(837)));self.assertEqual(val, "huit cent trente sept")
        except: print "got "+val+", expected: huit cent trente sept for 837";s.append(837)
        try: val=' '.join(self.french.transduce(prepare_input(838)));self.assertEqual(val, "huit cent trente huit")
        except: print "got "+val+", expected: huit cent trente huit for 838";s.append(838)
        try: val=' '.join(self.french.transduce(prepare_input(839)));self.assertEqual(val, "huit cent trente neuf")
        except: print "got "+val+", expected: huit cent trente neuf for 839";s.append(839)
        try: val=' '.join(self.french.transduce(prepare_input(840)));self.assertEqual(val, "huit cent quarante")
        except: print "got "+val+", expected: huit cent quarante for 840";s.append(840)
        try: val=' '.join(self.french.transduce(prepare_input(841)));self.assertEqual(val, "huit cent quarante et un")
        except: print "got "+val+", expected: huit cent quarante et un for 841";s.append(841)
        try: val=' '.join(self.french.transduce(prepare_input(842)));self.assertEqual(val, "huit cent quarante deux")
        except: print "got "+val+", expected: huit cent quarante deux for 842";s.append(842)
        try: val=' '.join(self.french.transduce(prepare_input(843)));self.assertEqual(val, "huit cent quarante trois")
        except: print "got "+val+", expected: huit cent quarante trois for 843";s.append(843)
        try: val=' '.join(self.french.transduce(prepare_input(844)));self.assertEqual(val, "huit cent quarante quatre")
        except: print "got "+val+", expected: huit cent quarante quatre for 844";s.append(844)
        try: val=' '.join(self.french.transduce(prepare_input(845)));self.assertEqual(val, "huit cent quarante cinq")
        except: print "got "+val+", expected: huit cent quarante cinq for 845";s.append(845)
        try: val=' '.join(self.french.transduce(prepare_input(846)));self.assertEqual(val, "huit cent quarante six")
        except: print "got "+val+", expected: huit cent quarante six for 846";s.append(846)
        try: val=' '.join(self.french.transduce(prepare_input(847)));self.assertEqual(val, "huit cent quarante sept")
        except: print "got "+val+", expected: huit cent quarante sept for 847";s.append(847)
        try: val=' '.join(self.french.transduce(prepare_input(848)));self.assertEqual(val, "huit cent quarante huit")
        except: print "got "+val+", expected: huit cent quarante huit for 848";s.append(848)
        try: val=' '.join(self.french.transduce(prepare_input(849)));self.assertEqual(val, "huit cent quarante neuf")
        except: print "got "+val+", expected: huit cent quarante neuf for 849";s.append(849)
        try: val=' '.join(self.french.transduce(prepare_input(850)));self.assertEqual(val, "huit cent cinquante")
        except: print "got "+val+", expected: huit cent cinquante for 850";s.append(850)
        try: val=' '.join(self.french.transduce(prepare_input(851)));self.assertEqual(val, "huit cent cinquante et un")
        except: print "got "+val+", expected: huit cent cinquante et un for 851";s.append(851)
        try: val=' '.join(self.french.transduce(prepare_input(852)));self.assertEqual(val, "huit cent cinquante deux")
        except: print "got "+val+", expected: huit cent cinquante deux for 852";s.append(852)
        try: val=' '.join(self.french.transduce(prepare_input(853)));self.assertEqual(val, "huit cent cinquante trois")
        except: print "got "+val+", expected: huit cent cinquante trois for 853";s.append(853)
        try: val=' '.join(self.french.transduce(prepare_input(854)));self.assertEqual(val, "huit cent cinquante quatre")
        except: print "got "+val+", expected: huit cent cinquante quatre for 854";s.append(854)
        try: val=' '.join(self.french.transduce(prepare_input(855)));self.assertEqual(val, "huit cent cinquante cinq")
        except: print "got "+val+", expected: huit cent cinquante cinq for 855";s.append(855)
        try: val=' '.join(self.french.transduce(prepare_input(856)));self.assertEqual(val, "huit cent cinquante six")
        except: print "got "+val+", expected: huit cent cinquante six for 856";s.append(856)
        try: val=' '.join(self.french.transduce(prepare_input(857)));self.assertEqual(val, "huit cent cinquante sept")
        except: print "got "+val+", expected: huit cent cinquante sept for 857";s.append(857)
        try: val=' '.join(self.french.transduce(prepare_input(858)));self.assertEqual(val, "huit cent cinquante huit")
        except: print "got "+val+", expected: huit cent cinquante huit for 858";s.append(858)
        try: val=' '.join(self.french.transduce(prepare_input(859)));self.assertEqual(val, "huit cent cinquante neuf")
        except: print "got "+val+", expected: huit cent cinquante neuf for 859";s.append(859)
        try: val=' '.join(self.french.transduce(prepare_input(860)));self.assertEqual(val, "huit cent soixante")
        except: print "got "+val+", expected: huit cent soixante for 860";s.append(860)
        try: val=' '.join(self.french.transduce(prepare_input(861)));self.assertEqual(val, "huit cent soixante et un")
        except: print "got "+val+", expected: huit cent soixante et un for 861";s.append(861)
        try: val=' '.join(self.french.transduce(prepare_input(862)));self.assertEqual(val, "huit cent soixante deux")
        except: print "got "+val+", expected: huit cent soixante deux for 862";s.append(862)
        try: val=' '.join(self.french.transduce(prepare_input(863)));self.assertEqual(val, "huit cent soixante trois")
        except: print "got "+val+", expected: huit cent soixante trois for 863";s.append(863)
        try: val=' '.join(self.french.transduce(prepare_input(864)));self.assertEqual(val, "huit cent soixante quatre")
        except: print "got "+val+", expected: huit cent soixante quatre for 864";s.append(864)
        try: val=' '.join(self.french.transduce(prepare_input(865)));self.assertEqual(val, "huit cent soixante cinq")
        except: print "got "+val+", expected: huit cent soixante cinq for 865";s.append(865)
        try: val=' '.join(self.french.transduce(prepare_input(866)));self.assertEqual(val, "huit cent soixante six")
        except: print "got "+val+", expected: huit cent soixante six for 866";s.append(866)
        try: val=' '.join(self.french.transduce(prepare_input(867)));self.assertEqual(val, "huit cent soixante sept")
        except: print "got "+val+", expected: huit cent soixante sept for 867";s.append(867)
        try: val=' '.join(self.french.transduce(prepare_input(868)));self.assertEqual(val, "huit cent soixante huit")
        except: print "got "+val+", expected: huit cent soixante huit for 868";s.append(868)
        try: val=' '.join(self.french.transduce(prepare_input(869)));self.assertEqual(val, "huit cent soixante neuf")
        except: print "got "+val+", expected: huit cent soixante neuf for 869";s.append(869)
        try: val=' '.join(self.french.transduce(prepare_input(870)));self.assertEqual(val, "huit cent soixante dix")
        except: print "got "+val+", expected: huit cent soixante dix for 870";s.append(870)
        try: val=' '.join(self.french.transduce(prepare_input(871)));self.assertEqual(val, "huit cent soixante et onze")
        except: print "got "+val+", expected: huit cent soixante et onze for 871";s.append(871)
        try: val=' '.join(self.french.transduce(prepare_input(872)));self.assertEqual(val, "huit cent soixante douze")
        except: print "got "+val+", expected: huit cent soixante douze for 872";s.append(872)
        try: val=' '.join(self.french.transduce(prepare_input(873)));self.assertEqual(val, "huit cent soixante treize")
        except: print "got "+val+", expected: huit cent soixante treize for 873";s.append(873)
        try: val=' '.join(self.french.transduce(prepare_input(874)));self.assertEqual(val, "huit cent soixante quatorze")
        except: print "got "+val+", expected: huit cent soixante quatorze for 874";s.append(874)
        try: val=' '.join(self.french.transduce(prepare_input(875)));self.assertEqual(val, "huit cent soixante quinze")
        except: print "got "+val+", expected: huit cent soixante quinze for 875";s.append(875)
        try: val=' '.join(self.french.transduce(prepare_input(876)));self.assertEqual(val, "huit cent soixante seize")
        except: print "got "+val+", expected: huit cent soixante seize for 876";s.append(876)
        try: val=' '.join(self.french.transduce(prepare_input(877)));self.assertEqual(val, "huit cent soixante dix sept")
        except: print "got "+val+", expected: huit cent soixante dix sept for 877";s.append(877)
        try: val=' '.join(self.french.transduce(prepare_input(878)));self.assertEqual(val, "huit cent soixante dix huit")
        except: print "got "+val+", expected: huit cent soixante dix huit for 878";s.append(878)
        try: val=' '.join(self.french.transduce(prepare_input(879)));self.assertEqual(val, "huit cent soixante dix neuf")
        except: print "got "+val+", expected: huit cent soixante dix neuf for 879";s.append(879)
        try: val=' '.join(self.french.transduce(prepare_input(880)));self.assertEqual(val, "huit cent quatre vingt")
        except: print "got "+val+", expected: huit cent quatre vingt for 880";s.append(880)
        try: val=' '.join(self.french.transduce(prepare_input(881)));self.assertEqual(val, "huit cent quatre vingt un")
        except: print "got "+val+", expected: huit cent quatre vingt un for 881";s.append(881)
        try: val=' '.join(self.french.transduce(prepare_input(882)));self.assertEqual(val, "huit cent quatre vingt deux")
        except: print "got "+val+", expected: huit cent quatre vingt deux for 882";s.append(882)
        try: val=' '.join(self.french.transduce(prepare_input(883)));self.assertEqual(val, "huit cent quatre vingt trois")
        except: print "got "+val+", expected: huit cent quatre vingt trois for 883";s.append(883)
        try: val=' '.join(self.french.transduce(prepare_input(884)));self.assertEqual(val, "huit cent quatre vingt quatre")
        except: print "got "+val+", expected: huit cent quatre vingt quatre for 884";s.append(884)
        try: val=' '.join(self.french.transduce(prepare_input(885)));self.assertEqual(val, "huit cent quatre vingt cinq")
        except: print "got "+val+", expected: huit cent quatre vingt cinq for 885";s.append(885)
        try: val=' '.join(self.french.transduce(prepare_input(886)));self.assertEqual(val, "huit cent quatre vingt six")
        except: print "got "+val+", expected: huit cent quatre vingt six for 886";s.append(886)
        try: val=' '.join(self.french.transduce(prepare_input(887)));self.assertEqual(val, "huit cent quatre vingt sept")
        except: print "got "+val+", expected: huit cent quatre vingt sept for 887";s.append(887)
        try: val=' '.join(self.french.transduce(prepare_input(888)));self.assertEqual(val, "huit cent quatre vingt huit")
        except: print "got "+val+", expected: huit cent quatre vingt huit for 888";s.append(888)
        try: val=' '.join(self.french.transduce(prepare_input(889)));self.assertEqual(val, "huit cent quatre vingt neuf")
        except: print "got "+val+", expected: huit cent quatre vingt neuf for 889";s.append(889)
        try: val=' '.join(self.french.transduce(prepare_input(890)));self.assertEqual(val, "huit cent quatre vingt dix")
        except: print "got "+val+", expected: huit cent quatre vingt dix for 890";s.append(890)
        try: val=' '.join(self.french.transduce(prepare_input(891)));self.assertEqual(val, "huit cent quatre vingt onze")
        except: print "got "+val+", expected: huit cent quatre vingt onze for 891";s.append(891)
        try: val=' '.join(self.french.transduce(prepare_input(892)));self.assertEqual(val, "huit cent quatre vingt douze")
        except: print "got "+val+", expected: huit cent quatre vingt douze for 892";s.append(892)
        try: val=' '.join(self.french.transduce(prepare_input(893)));self.assertEqual(val, "huit cent quatre vingt treize")
        except: print "got "+val+", expected: huit cent quatre vingt treize for 893";s.append(893)
        try: val=' '.join(self.french.transduce(prepare_input(894)));self.assertEqual(val, "huit cent quatre vingt quatorze")
        except: print "got "+val+", expected: huit cent quatre vingt quatorze for 894";s.append(894)
        try: val=' '.join(self.french.transduce(prepare_input(895)));self.assertEqual(val, "huit cent quatre vingt quinze")
        except: print "got "+val+", expected: huit cent quatre vingt quinze for 895";s.append(895)
        try: val=' '.join(self.french.transduce(prepare_input(896)));self.assertEqual(val, "huit cent quatre vingt seize")
        except: print "got "+val+", expected: huit cent quatre vingt seize for 896";s.append(896)
        try: val=' '.join(self.french.transduce(prepare_input(897)));self.assertEqual(val, "huit cent quatre vingt dix sept")
        except: print "got "+val+", expected: huit cent quatre vingt dix sept for 897";s.append(897)
        try: val=' '.join(self.french.transduce(prepare_input(898)));self.assertEqual(val, "huit cent quatre vingt dix huit")
        except: print "got "+val+", expected: huit cent quatre vingt dix huit for 898";s.append(898)
        try: val=' '.join(self.french.transduce(prepare_input(899)));self.assertEqual(val, "huit cent quatre vingt dix neuf")
        except: print "got "+val+", expected: huit cent quatre vingt dix neuf for 899";s.append(899)
        try: val=' '.join(self.french.transduce(prepare_input(900)));self.assertEqual(val, "neuf cent")
        except: print "got "+val+", expected: neuf cent  for 900";s.append(900)
        try: val=' '.join(self.french.transduce(prepare_input(901)));self.assertEqual(val, "neuf cent un")
        except: print "got "+val+", expected: neuf cent un for 901";s.append(901)
        try: val=' '.join(self.french.transduce(prepare_input(902)));self.assertEqual(val, "neuf cent deux")
        except: print "got "+val+", expected: neuf cent deux for 902";s.append(902)
        try: val=' '.join(self.french.transduce(prepare_input(903)));self.assertEqual(val, "neuf cent trois")
        except: print "got "+val+", expected: neuf cent trois for 903";s.append(903)
        try: val=' '.join(self.french.transduce(prepare_input(904)));self.assertEqual(val, "neuf cent quatre")
        except: print "got "+val+", expected: neuf cent quatre for 904";s.append(904)
        try: val=' '.join(self.french.transduce(prepare_input(905)));self.assertEqual(val, "neuf cent cinq")
        except: print "got "+val+", expected: neuf cent cinq for 905";s.append(905)
        try: val=' '.join(self.french.transduce(prepare_input(906)));self.assertEqual(val, "neuf cent six")
        except: print "got "+val+", expected: neuf cent six for 906";s.append(906)
        try: val=' '.join(self.french.transduce(prepare_input(907)));self.assertEqual(val, "neuf cent sept")
        except: print "got "+val+", expected: neuf cent sept for 907";s.append(907)
        try: val=' '.join(self.french.transduce(prepare_input(908)));self.assertEqual(val, "neuf cent huit")
        except: print "got "+val+", expected: neuf cent huit for 908";s.append(908)
        try: val=' '.join(self.french.transduce(prepare_input(909)));self.assertEqual(val, "neuf cent neuf")
        except: print "got "+val+", expected: neuf cent neuf for 909";s.append(909)
        try: val=' '.join(self.french.transduce(prepare_input(910)));self.assertEqual(val, "neuf cent dix")
        except: print "got "+val+", expected: neuf cent dix for 910";s.append(910)
        try: val=' '.join(self.french.transduce(prepare_input(911)));self.assertEqual(val, "neuf cent onze")
        except: print "got "+val+", expected: neuf cent onze for 911";s.append(911)
        try: val=' '.join(self.french.transduce(prepare_input(912)));self.assertEqual(val, "neuf cent douze")
        except: print "got "+val+", expected: neuf cent douze for 912";s.append(912)
        try: val=' '.join(self.french.transduce(prepare_input(913)));self.assertEqual(val, "neuf cent treize")
        except: print "got "+val+", expected: neuf cent treize for 913";s.append(913)
        try: val=' '.join(self.french.transduce(prepare_input(914)));self.assertEqual(val, "neuf cent quatorze")
        except: print "got "+val+", expected: neuf cent quatorze for 914";s.append(914)
        try: val=' '.join(self.french.transduce(prepare_input(915)));self.assertEqual(val, "neuf cent quinze")
        except: print "got "+val+", expected: neuf cent quinze for 915";s.append(915)
        try: val=' '.join(self.french.transduce(prepare_input(916)));self.assertEqual(val, "neuf cent seize")
        except: print "got "+val+", expected: neuf cent seize for 916";s.append(916)
        try: val=' '.join(self.french.transduce(prepare_input(917)));self.assertEqual(val, "neuf cent dix sept")
        except: print "got "+val+", expected: neuf cent dix sept for 917";s.append(917)
        try: val=' '.join(self.french.transduce(prepare_input(918)));self.assertEqual(val, "neuf cent dix huit")
        except: print "got "+val+", expected: neuf cent dix huit for 918";s.append(918)
        try: val=' '.join(self.french.transduce(prepare_input(919)));self.assertEqual(val, "neuf cent dix neuf")
        except: print "got "+val+", expected: neuf cent dix neuf for 919";s.append(919)
        try: val=' '.join(self.french.transduce(prepare_input(920)));self.assertEqual(val, "neuf cent vingt")
        except: print "got "+val+", expected: neuf cent vingt for 920";s.append(920)
        try: val=' '.join(self.french.transduce(prepare_input(921)));self.assertEqual(val, "neuf cent vingt et un")
        except: print "got "+val+", expected: neuf cent vingt et un for 921";s.append(921)
        try: val=' '.join(self.french.transduce(prepare_input(922)));self.assertEqual(val, "neuf cent vingt deux")
        except: print "got "+val+", expected: neuf cent vingt deux for 922";s.append(922)
        try: val=' '.join(self.french.transduce(prepare_input(923)));self.assertEqual(val, "neuf cent vingt trois")
        except: print "got "+val+", expected: neuf cent vingt trois for 923";s.append(923)
        try: val=' '.join(self.french.transduce(prepare_input(924)));self.assertEqual(val, "neuf cent vingt quatre")
        except: print "got "+val+", expected: neuf cent vingt quatre for 924";s.append(924)
        try: val=' '.join(self.french.transduce(prepare_input(925)));self.assertEqual(val, "neuf cent vingt cinq")
        except: print "got "+val+", expected: neuf cent vingt cinq for 925";s.append(925)
        try: val=' '.join(self.french.transduce(prepare_input(926)));self.assertEqual(val, "neuf cent vingt six")
        except: print "got "+val+", expected: neuf cent vingt six for 926";s.append(926)
        try: val=' '.join(self.french.transduce(prepare_input(927)));self.assertEqual(val, "neuf cent vingt sept")
        except: print "got "+val+", expected: neuf cent vingt sept for 927";s.append(927)
        try: val=' '.join(self.french.transduce(prepare_input(928)));self.assertEqual(val, "neuf cent vingt huit")
        except: print "got "+val+", expected: neuf cent vingt huit for 928";s.append(928)
        try: val=' '.join(self.french.transduce(prepare_input(929)));self.assertEqual(val, "neuf cent vingt neuf")
        except: print "got "+val+", expected: neuf cent vingt neuf for 929";s.append(929)
        try: val=' '.join(self.french.transduce(prepare_input(930)));self.assertEqual(val, "neuf cent trente")
        except: print "got "+val+", expected: neuf cent trente for 930";s.append(930)
        try: val=' '.join(self.french.transduce(prepare_input(931)));self.assertEqual(val, "neuf cent trente et un")
        except: print "got "+val+", expected: neuf cent trente et un for 931";s.append(931)
        try: val=' '.join(self.french.transduce(prepare_input(932)));self.assertEqual(val, "neuf cent trente deux")
        except: print "got "+val+", expected: neuf cent trente deux for 932";s.append(932)
        try: val=' '.join(self.french.transduce(prepare_input(933)));self.assertEqual(val, "neuf cent trente trois")
        except: print "got "+val+", expected: neuf cent trente trois for 933";s.append(933)
        try: val=' '.join(self.french.transduce(prepare_input(934)));self.assertEqual(val, "neuf cent trente quatre")
        except: print "got "+val+", expected: neuf cent trente quatre for 934";s.append(934)
        try: val=' '.join(self.french.transduce(prepare_input(935)));self.assertEqual(val, "neuf cent trente cinq")
        except: print "got "+val+", expected: neuf cent trente cinq for 935";s.append(935)
        try: val=' '.join(self.french.transduce(prepare_input(936)));self.assertEqual(val, "neuf cent trente six")
        except: print "got "+val+", expected: neuf cent trente six for 936";s.append(936)
        try: val=' '.join(self.french.transduce(prepare_input(937)));self.assertEqual(val, "neuf cent trente sept")
        except: print "got "+val+", expected: neuf cent trente sept for 937";s.append(937)
        try: val=' '.join(self.french.transduce(prepare_input(938)));self.assertEqual(val, "neuf cent trente huit")
        except: print "got "+val+", expected: neuf cent trente huit for 938";s.append(938)
        try: val=' '.join(self.french.transduce(prepare_input(939)));self.assertEqual(val, "neuf cent trente neuf")
        except: print "got "+val+", expected: neuf cent trente neuf for 939";s.append(939)
        try: val=' '.join(self.french.transduce(prepare_input(940)));self.assertEqual(val, "neuf cent quarante")
        except: print "got "+val+", expected: neuf cent quarante for 940";s.append(940)
        try: val=' '.join(self.french.transduce(prepare_input(941)));self.assertEqual(val, "neuf cent quarante et un")
        except: print "got "+val+", expected: neuf cent quarante et un for 941";s.append(941)
        try: val=' '.join(self.french.transduce(prepare_input(942)));self.assertEqual(val, "neuf cent quarante deux")
        except: print "got "+val+", expected: neuf cent quarante deux for 942";s.append(942)
        try: val=' '.join(self.french.transduce(prepare_input(943)));self.assertEqual(val, "neuf cent quarante trois")
        except: print "got "+val+", expected: neuf cent quarante trois for 943";s.append(943)
        try: val=' '.join(self.french.transduce(prepare_input(944)));self.assertEqual(val, "neuf cent quarante quatre")
        except: print "got "+val+", expected: neuf cent quarante quatre for 944";s.append(944)
        try: val=' '.join(self.french.transduce(prepare_input(945)));self.assertEqual(val, "neuf cent quarante cinq")
        except: print "got "+val+", expected: neuf cent quarante cinq for 945";s.append(945)
        try: val=' '.join(self.french.transduce(prepare_input(946)));self.assertEqual(val, "neuf cent quarante six")
        except: print "got "+val+", expected: neuf cent quarante six for 946";s.append(946)
        try: val=' '.join(self.french.transduce(prepare_input(947)));self.assertEqual(val, "neuf cent quarante sept")
        except: print "got "+val+", expected: neuf cent quarante sept for 947";s.append(947)
        try: val=' '.join(self.french.transduce(prepare_input(948)));self.assertEqual(val, "neuf cent quarante huit")
        except: print "got "+val+", expected: neuf cent quarante huit for 948";s.append(948)
        try: val=' '.join(self.french.transduce(prepare_input(949)));self.assertEqual(val, "neuf cent quarante neuf")
        except: print "got "+val+", expected: neuf cent quarante neuf for 949";s.append(949)
        try: val=' '.join(self.french.transduce(prepare_input(950)));self.assertEqual(val, "neuf cent cinquante")
        except: print "got "+val+", expected: neuf cent cinquante for 950";s.append(950)
        try: val=' '.join(self.french.transduce(prepare_input(951)));self.assertEqual(val, "neuf cent cinquante et un")
        except: print "got "+val+", expected: neuf cent cinquante et un for 951";s.append(951)
        try: val=' '.join(self.french.transduce(prepare_input(952)));self.assertEqual(val, "neuf cent cinquante deux")
        except: print "got "+val+", expected: neuf cent cinquante deux for 952";s.append(952)
        try: val=' '.join(self.french.transduce(prepare_input(953)));self.assertEqual(val, "neuf cent cinquante trois")
        except: print "got "+val+", expected: neuf cent cinquante trois for 953";s.append(953)
        try: val=' '.join(self.french.transduce(prepare_input(954)));self.assertEqual(val, "neuf cent cinquante quatre")
        except: print "got "+val+", expected: neuf cent cinquante quatre for 954";s.append(954)
        try: val=' '.join(self.french.transduce(prepare_input(955)));self.assertEqual(val, "neuf cent cinquante cinq")
        except: print "got "+val+", expected: neuf cent cinquante cinq for 955";s.append(955)
        try: val=' '.join(self.french.transduce(prepare_input(956)));self.assertEqual(val, "neuf cent cinquante six")
        except: print "got "+val+", expected: neuf cent cinquante six for 956";s.append(956)
        try: val=' '.join(self.french.transduce(prepare_input(957)));self.assertEqual(val, "neuf cent cinquante sept")
        except: print "got "+val+", expected: neuf cent cinquante sept for 957";s.append(957)
        try: val=' '.join(self.french.transduce(prepare_input(958)));self.assertEqual(val, "neuf cent cinquante huit")
        except: print "got "+val+", expected: neuf cent cinquante huit for 958";s.append(958)
        try: val=' '.join(self.french.transduce(prepare_input(959)));self.assertEqual(val, "neuf cent cinquante neuf")
        except: print "got "+val+", expected: neuf cent cinquante neuf for 959";s.append(959)
        try: val=' '.join(self.french.transduce(prepare_input(960)));self.assertEqual(val, "neuf cent soixante")
        except: print "got "+val+", expected: neuf cent soixante for 960";s.append(960)
        try: val=' '.join(self.french.transduce(prepare_input(961)));self.assertEqual(val, "neuf cent soixante et un")
        except: print "got "+val+", expected: neuf cent soixante et un for 961";s.append(961)
        try: val=' '.join(self.french.transduce(prepare_input(962)));self.assertEqual(val, "neuf cent soixante deux")
        except: print "got "+val+", expected: neuf cent soixante deux for 962";s.append(962)
        try: val=' '.join(self.french.transduce(prepare_input(963)));self.assertEqual(val, "neuf cent soixante trois")
        except: print "got "+val+", expected: neuf cent soixante trois for 963";s.append(963)
        try: val=' '.join(self.french.transduce(prepare_input(964)));self.assertEqual(val, "neuf cent soixante quatre")
        except: print "got "+val+", expected: neuf cent soixante quatre for 964";s.append(964)
        try: val=' '.join(self.french.transduce(prepare_input(965)));self.assertEqual(val, "neuf cent soixante cinq")
        except: print "got "+val+", expected: neuf cent soixante cinq for 965";s.append(965)
        try: val=' '.join(self.french.transduce(prepare_input(966)));self.assertEqual(val, "neuf cent soixante six")
        except: print "got "+val+", expected: neuf cent soixante six for 966";s.append(966)
        try: val=' '.join(self.french.transduce(prepare_input(967)));self.assertEqual(val, "neuf cent soixante sept")
        except: print "got "+val+", expected: neuf cent soixante sept for 967";s.append(967)
        try: val=' '.join(self.french.transduce(prepare_input(968)));self.assertEqual(val, "neuf cent soixante huit")
        except: print "got "+val+", expected: neuf cent soixante huit for 968";s.append(968)
        try: val=' '.join(self.french.transduce(prepare_input(969)));self.assertEqual(val, "neuf cent soixante neuf")
        except: print "got "+val+", expected: neuf cent soixante neuf for 969";s.append(969)
        try: val=' '.join(self.french.transduce(prepare_input(970)));self.assertEqual(val, "neuf cent soixante dix")
        except: print "got "+val+", expected: neuf cent soixante dix for 970";s.append(970)
        try: val=' '.join(self.french.transduce(prepare_input(971)));self.assertEqual(val, "neuf cent soixante et onze")
        except: print "got "+val+", expected: neuf cent soixante et onze for 971";s.append(971)
        try: val=' '.join(self.french.transduce(prepare_input(972)));self.assertEqual(val, "neuf cent soixante douze")
        except: print "got "+val+", expected: neuf cent soixante douze for 972";s.append(972)
        try: val=' '.join(self.french.transduce(prepare_input(973)));self.assertEqual(val, "neuf cent soixante treize")
        except: print "got "+val+", expected: neuf cent soixante treize for 973";s.append(973)
        try: val=' '.join(self.french.transduce(prepare_input(974)));self.assertEqual(val, "neuf cent soixante quatorze")
        except: print "got "+val+", expected: neuf cent soixante quatorze for 974";s.append(974)
        try: val=' '.join(self.french.transduce(prepare_input(975)));self.assertEqual(val, "neuf cent soixante quinze")
        except: print "got "+val+", expected: neuf cent soixante quinze for 975";s.append(975)
        try: val=' '.join(self.french.transduce(prepare_input(976)));self.assertEqual(val, "neuf cent soixante seize")
        except: print "got "+val+", expected: neuf cent soixante seize for 976";s.append(976)
        try: val=' '.join(self.french.transduce(prepare_input(977)));self.assertEqual(val, "neuf cent soixante dix sept")
        except: print "got "+val+", expected: neuf cent soixante dix sept for 977";s.append(977)
        try: val=' '.join(self.french.transduce(prepare_input(978)));self.assertEqual(val, "neuf cent soixante dix huit")
        except: print "got "+val+", expected: neuf cent soixante dix huit for 978";s.append(978)
        try: val=' '.join(self.french.transduce(prepare_input(979)));self.assertEqual(val, "neuf cent soixante dix neuf")
        except: print "got "+val+", expected: neuf cent soixante dix neuf for 979";s.append(979)
        try: val=' '.join(self.french.transduce(prepare_input(980)));self.assertEqual(val, "neuf cent quatre vingt")
        except: print "got "+val+", expected: neuf cent quatre vingt for 980";s.append(980)
        try: val=' '.join(self.french.transduce(prepare_input(981)));self.assertEqual(val, "neuf cent quatre vingt un")
        except: print "got "+val+", expected: neuf cent quatre vingt un for 981";s.append(981)
        try: val=' '.join(self.french.transduce(prepare_input(982)));self.assertEqual(val, "neuf cent quatre vingt deux")
        except: print "got "+val+", expected: neuf cent quatre vingt deux for 982";s.append(982)
        try: val=' '.join(self.french.transduce(prepare_input(983)));self.assertEqual(val, "neuf cent quatre vingt trois")
        except: print "got "+val+", expected: neuf cent quatre vingt trois for 983";s.append(983)
        try: val=' '.join(self.french.transduce(prepare_input(984)));self.assertEqual(val, "neuf cent quatre vingt quatre")
        except: print "got "+val+", expected: neuf cent quatre vingt quatre for 984";s.append(984)
        try: val=' '.join(self.french.transduce(prepare_input(985)));self.assertEqual(val, "neuf cent quatre vingt cinq")
        except: print "got "+val+", expected: neuf cent quatre vingt cinq for 985";s.append(985)
        try: val=' '.join(self.french.transduce(prepare_input(986)));self.assertEqual(val, "neuf cent quatre vingt six")
        except: print "got "+val+", expected: neuf cent quatre vingt six for 986";s.append(986)
        try: val=' '.join(self.french.transduce(prepare_input(987)));self.assertEqual(val, "neuf cent quatre vingt sept")
        except: print "got "+val+", expected: neuf cent quatre vingt sept for 987";s.append(987)
        try: val=' '.join(self.french.transduce(prepare_input(988)));self.assertEqual(val, "neuf cent quatre vingt huit")
        except: print "got "+val+", expected: neuf cent quatre vingt huit for 988";s.append(988)
        try: val=' '.join(self.french.transduce(prepare_input(989)));self.assertEqual(val, "neuf cent quatre vingt neuf")
        except: print "got "+val+", expected: neuf cent quatre vingt neuf for 989";s.append(989)
        try: val=' '.join(self.french.transduce(prepare_input(990)));self.assertEqual(val, "neuf cent quatre vingt dix")
        except: print "got "+val+", expected: neuf cent quatre vingt dix for 990";s.append(990)
        try: val=' '.join(self.french.transduce(prepare_input(991)));self.assertEqual(val, "neuf cent quatre vingt onze")
        except: print "got "+val+", expected: neuf cent quatre vingt onze for 991";s.append(991)
        try: val=' '.join(self.french.transduce(prepare_input(992)));self.assertEqual(val, "neuf cent quatre vingt douze")
        except: print "got "+val+", expected: neuf cent quatre vingt douze for 992";s.append(992)
        try: val=' '.join(self.french.transduce(prepare_input(993)));self.assertEqual(val, "neuf cent quatre vingt treize")
        except: print "got "+val+", expected: neuf cent quatre vingt treize for 993";s.append(993)
        try: val=' '.join(self.french.transduce(prepare_input(994)));self.assertEqual(val, "neuf cent quatre vingt quatorze")
        except: print "got "+val+", expected: neuf cent quatre vingt quatorze for 994";s.append(994)
        try: val=' '.join(self.french.transduce(prepare_input(995)));self.assertEqual(val, "neuf cent quatre vingt quinze")
        except: print "got "+val+", expected: neuf cent quatre vingt quinze for 995";s.append(995)
        try: val=' '.join(self.french.transduce(prepare_input(996)));self.assertEqual(val, "neuf cent quatre vingt seize")
        except: print "got "+val+", expected: neuf cent quatre vingt seize for 996";s.append(996)
        try: val=' '.join(self.french.transduce(prepare_input(997)));self.assertEqual(val, "neuf cent quatre vingt dix sept")
        except: print "got "+val+", expected: neuf cent quatre vingt dix sept for 997";s.append(997)
        try: val=' '.join(self.french.transduce(prepare_input(998)));self.assertEqual(val, "neuf cent quatre vingt dix huit")
        except: print "got "+val+", expected: neuf cent quatre vingt dix huit for 998";s.append(998)
        try: val=' '.join(self.french.transduce(prepare_input(999)));self.assertEqual(val, "neuf cent quatre vingt dix neuf")
        except: print "got "+val+", expected: neuf cent quatre vingt dix neuf for 999";s.append(999)
        
        print '\nNumber of failed numbers tests:', str(len(s))
        if len(s)!=0: print 'Failed numbers tests:', ','.join([str(x) for x in s])

    def test_morphology(self):
        s = []
        try: self.assertEqual(generate("pack+s"), "packs")
        except: s.append(1)
        try: self.assertEqual(generate("ice+ing"), "icing")
        except: s.append(2)
        try: self.assertEqual(generate("frolic+ed"), "frolicked")
        except: s.append(3)
        try: self.assertEqual(generate("pace+ed"), "paced")
        except: s.append(4)
        try: self.assertEqual(generate("ace+ed"), "aced")
        except: s.append(5)
        try: self.assertEqual(generate("traffic+ing"), "trafficking")
        except: s.append(6)
        try: self.assertEqual(generate("lilac+ing"), "lilacking")
        except: s.append(7)
        try: self.assertEqual(generate("llllc+ing"), "llllcing")
        except: s.append(11)
        try: self.assertEqual(generate("lick+ed"), "licked")
        except: s.append(8)
        try: self.assertEqual(generate("lllck+ing"), "lllcking")
        except: s.append(9)
        try: self.assertEqual(generate("lick+ing"), "licking")
        except: s.append(10)

        print '\nNumber of failed morphology tests:', str(len(s))
        if len(s)!=0: print 'Failed morphology tests:', ','.join([str(x) for x in s])

if __name__ == '__main__':
    unittest.main()
