def test_one_thousand(self): self.assertEqual(get_number_name(1000), "one thousand")
def test_one_hundred_and_one(self): self.assertEqual(get_number_name(101), "one hundred and one")
def test_three_hundred_and_forty_two(self): self.assertEqual(get_number_name(342), "three hundred and forty-two")
def test_hundreds(self, number, name): self.assertEqual(get_number_name(number), name)
def test_twenty_on(self): self.assertEqual(get_number_name(21), "twenty-one")
def test_double_digit_multiples_of_ten(self, number, name): self.assertEqual(get_number_name(number), name)
def test_double_digits_less_than_twenty(self, number, name): self.assertEqual(get_number_name(number), name)
def test_single_digits(self, number, name): self.assertEqual(get_number_name(number), name)