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.
Random tests have been added to Ruby and Javascript versions.
2 === 2.0 is true at least in chrome. parseFloat('2.00') returns 2. Not sure if there is another way to force that.
Thanks for contributing!
I was working on a Ruby version this morning, so one of us may have overwritten the other one by accident.
It's a good idea to add random tests. I'll do that in the near future.
You should consider passing 'house' to the function and writing some basic tests or changing the language of the description not to say "given a list of houses" if the array isn't given.