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.
Haskell random tests do not show function list on failure. Fork that fixes this, along with testing over more types than
Double.This comment is hidden because it contains spoiler information about the solution
Go translation
( JS )
Error message for failing
Magic.proto.register instanceof Functionassumes it does not exist. There are other reasons this test could fail.Same for
instance.name.( JS )
Testing for prototype methods depends on them being enumerable. It also does not actually test
registeris the only one.( JS, possibly others )
Example tests would be nice.
Needs random tests.
No random tests.
Do you actually need the
registermethod for this task anyway? It can be easily done inside theMagicModelconstructor.It is not obvious what is written in the tests output. Especially for beginners.
I barely understood that in first line is a "sunday" checking, in second - month and in third - date. Please, make more informative outputs.
#dstEnd with year 2004
Test Passed: Value == 0
Test Passed: Value == 10
Test Passed: Value == 7