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.
CS new test framework
Sample test is for totally unrelated method.
There are no tests that check for tests that check whether the correct error message is thrown from within the Animal code.
It could be nice to test [3,5,6,6,4] instead of [3,5,6,4]. Now here is no tests for duplicates in the same call.
No sample tests.
No random tests.
Needs random tests in CoffeScript.
The test suite is just horrible:
"did not process the correct number of items"
Seriously? x/test.expect
unless you provide a USEFULL error message. UseTest.assert_equals
insteadAlso, given the nature of the kata, random tests are absolutely needed.
Tests does not check that the correct Error (
TestError
) is thrown. Even throwing a string would pass the test cases.Basic example:
The second line's ".flattened" should be removed.