generated from mwc/problemset_numberwords
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user