The utility class converts from Roman numeral i
into 1
.
- Update the utility class to convert number 2
- Update the utility class to convert number 3
- Update the utility class to convert number 5, 6, 7, 8
- What about 4 and 9?
- Picking a subset of the numbers, prove that your algorithm works for any number between 1 and 100
Consider using a TDD approach, though it's not mandatory.