Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Fixed
Max number should be 3888.
But yes,still expecting 'LXXXIX', more than 3 same chars
Still an issue!
As per classic convention highest number for this kata should be <3999
Because if you allow entering 4 symbols of the same type, why "4" is not equal to "IIII" ?
Still true, I could only pass by adding an extra "M" for every digit higher in thousands place. Otherwise 6 cases failed consistently.
bump for this as still seeing it. A limit of three consecutive characters implies a number no greater than 4999 so the tests should reflect this.
Thanks dangerdak ! No, I hadn't seen that guide before. Thanks for sharing it will be very useful in doing my next kata xD . It explains the testing well.
Thanks for catching that. I didn't notice before. It was because I ported your "testSolution" method to my test class. In PHPUnit, methods that start with "test" are supposed to be unit test methods. PHPUnit warns you when a unit test does not run any assertions. I renamed the method to "checkSolution" to avoid the problem.
Good criticism. I think it's a little better now. PHPUnit doesn't provide quite as much as verbosity as Jasmine.