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.
This is not a good kata.
Your Description contradicts your only assertion in the test cases - description says laps should be five or less but test cases check that laps is greater than five. Not to mention that your test cases don't even check whether the user has simply removed the "for" loop and set the value of
laps
directly. All in all, this Kata is of very poor quality and it is apparent that the author has put next to no effort in creating it.Add test(s) to, or remove the current content from, the "Test Driven Development (TDD)" area. (The preview tests that code warriors can see and run before submitting.)
Add a test to ensure 0 is being lapped, or not. (Do you want the action to include or exclude 0?)