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.
Haha, slick fix, I like it!
BTW, I don't know if you marked this as an issue of if I did when I wrote it. If I did it was unintentional! Comment, not issue, on my part.
The conditions, to return 1 hour but 2 hours and 0.5 hours: Although I'm hard pressed to say there's anything wrong with them, exactly, don't really seem consistent or inutuitive.
On the one hand the objective is to replicate spoken grammar, but who says "one point 5 hours" or "0.5 hours"?
It's just a style thing, but I'd be tempted to add a bit of complexity around the return format - say, to the nearest 5 minute interval if < 1 hour and to the nearest half hour for > 1 hour.
Just a thought!
OK. I thought I had accounted for camelCase words, since I was especially keen than words like iPhone, iPad etc were not obscured. Will check.
Really good, specific feedback - thanks for taking the time.
As discussed, you need stricter tests to stop my faulty solutions sneaking past!