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.
Great kata! The only minor issue I encountered was mis-casing of
dateOfbirth
property (proper camelCase would bedateOfBirth
).yes, I've removed all rounding hacks and all tests are passing now
My random tests keep failing because of some strange rounding issues:
raw
object seem to be rounded to 1 decimal point - I could round the result in the same way, but it seems pointless and hackytime
value doesn't match the test by a 0.0000000000001 - and I can't event hack this diff to pass tests (most of the runs, it's the expected result that is not rounded)I might guess it's because random tests can request a non-integer number of portions (amount % yield !== 0).
Or am I missing anything in the algorithm?