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.
Thanks! Glad you liked it. Yes might be a bit tricky for the grade, I guess it's hard to get a consistent grading.
Oh, very similar indeed :/ Haven't seen that one. Thanks for approving though!
Ok, I guess you mean that I should create a script that generates random input data to the unit tests? But will this not create a catch-22 situation, since I still need to provide an algorithm to calculate the "correct values" for the asserts?
I have now added a script for generating random dates when running some of the test cases. Was this what you had in mind?
More random tests added.
No worries, I appreciate the feedback! Am I correct in assuming that you want more variation in the "years"? I understand your point, that a lot is not the same as random, but I guess I don't know how to approach this. I'll make another try on making more random tests.
Resolved
Good catch, thanks! I have now added a test case with several instances that end up at
.5
.Is the description too long-winded?
Thanks for the feedback, I have now added more random tests.
And fingers crossed that it will pass as a non-duplicate by the community.
Yes you're right. The solution's logic is the same. What is the norm in these situations? Am I expected to remove my kata?