I have reached checkpoint 2

I believe there was a mistake in test_numberwords.py
I went into the code and for the test case of 588567 it was expecting
an outcome of five hundred and ninety-eight thousand five hundred and sixty-seven.
I changed it in the code to expect
five hundred and eighty-eight thousand five hundred and sixty-seven
This commit is contained in:
Lauren Dawnkaski
2024-11-10 23:06:42 -05:00
parent 725117fbc8
commit d5054bf630
2 changed files with 34 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ class TestIntToStr(unittest.TestCase):
[int_under_1000000_to_str, 1001, 'one thousand one'],
[int_under_1000000_to_str, 1672, 'one thousand six hundred and seventy-two'],
[int_under_1000000_to_str, 10000, 'ten thousand'],
[int_under_1000000_to_str, 588567, 'five hundred and ninety-eight thousand five hundred and sixty-seven'],
[int_under_1000000_to_str, 588567, 'five hundred and eighty-eight thousand five hundred and sixty-seven'],
]
def test_converts_integer_to_string(self):