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.
The sample test needs one test that wants a number > 9. Otherwise you will type up a solution to only find out that it will pass the sample test, but fail the test itself because you didn't write a solution for numbers > 9. To me that is an issue that causes you to redo your solution entirely and its misleading.
This feels like the beginning of a kata. Rather than counting animals, it can be solved by simply finding, converting, and summing all integers in the string. Consider the sentence, "There are 3 giraffes, 2 doggos, and 12 socks." The correct answer by description should be
5
, but this kata avoids these types of cases.Maybe this can be part one, and part two requires verifying they are actually animals?
No fixed test with different 1 Jan and same 1 Mar?
Really, your testing could be better, couldn't it?
This comment is hidden because it contains spoiler information about the solution
Also, random tests?
Random tests?