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 solution is very similar to mine. I like it.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Simple and effective. Congrats!!!
We should test for 12:30pm to return 'sunny'. Right now, we don't have a test for that, so something that returns 'raining' for that time would still pass, and it's very easy to miss that edge case.
The random tests appear to have bugs. Some test inputs that invalidated my original solution:
Random testing had bugs. Fixed.
Approved.
Changed
Test.expect
toTest.assertEquals
.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution