Ad
  • Default User Avatar

    Thanks again. I implemented a custom string generator now. Still nonsenseical words, but it works :)

  • Default User Avatar

    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?

  • Default User Avatar

    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]));
    })

  • Default User Avatar

    Hi, thanks for commenting! What fixes do you suggest for the example tests?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution