-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beef up tests #9
Comments
Hi! I would like to work on this if that's alright ^^ |
Of course! I'll assign it to you and you can jump right in. |
Would it be okay for me to split some parts of the main function into separate functions for better/easier testing? mainly the "Sort out the optional indexed argument" and "Convert input number to base 10" sections |
Absolutely. Those probably should have been separate functions to begin with. |
Realized there could always be more tests. Leaving this open in case anyone else wants to come along and add some. |
Currently, the tests only exercise the core converter function, but there's logic to format the input before that function is called that remains untouched by the tests.
edit
Thanks to @Baev1, we have much better test coverage on the formatting logic. This ticket is now open for anyone to add any tests.
The text was updated successfully, but these errors were encountered: