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.
sample test added:
describe("cellStates", function() {
it("Test, Initial state is [1, 1, 1, 1, 0, 1, 1, 1] period of time is 1 day", function() {
Test.assertSimilar(cellStates([1, 1, 1, 1, 0, 1, 1, 1],1), [ 1, 0, 0, 1, 0, 1, 0, 1 ], "Expected result after 1 day is [ 1, 0, 0, 1, 0, 1, 0, 1 ]");
});
});
initial code added:
function cellStates(states, days) {
}
Tests added.
hit published too soon. Tests added.