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.
Thanks again. I implemented a custom string generator now. Still nonsenseical words, but it works :)
Thanks again @gabbek.
I implemented it correctly now. Do you know how do I get my Kata out of Beta and published? Do people vote on it?
Thanks for the help!
I've changed the example to match the test.
I've also tentatively implemented a random test, but I'm unsure if I'm doing it right. I've pasted it below. I think asserting the function results equal the function results is bad form. Should I include a master function outside of what the user has provided in the test code?
var r1 = Test.randomToken();
var r2 = Test.randomToken();
var r3 = Test.randomToken();
Test.it("Random test", function() {
Test.assertEquals(ppap([r2, r1], [r3, r1]), ppap([r2, r1], [r3, r1]));
})
Hi, thanks for commenting! What fixes do you suggest for the example tests?
This comment is hidden because it contains spoiler information about the solution