Ad
  • Custom User Avatar

    Was struggling with the random tests to complete this same translation. Guess I don't have to worry anymore.
    Good job, man.

  • Custom User Avatar

    Fair enough, I'll unpublish this translation until I figure out the random testing.

    I completed the Ecrypt This! Kata, wich is based on this one, then realized there wasn't a C# version for it.
    Thought that even if I didn't knew how to generate random tests it would be still good to at least start the translation so people could improve on it.

  • Custom User Avatar

    I included comments regarding the lack of random tests.
    I'm a begginer but wanted to start doing something, that's why it's a bit bareboned.
    And that's why there's comments saying "need help with X".

  • Custom User Avatar

    That was just for the naming convention to be standardized, but understood.

  • Custom User Avatar

    Had the same problem but when I fixed it, I broke the last "ghost test" from the sample.
    Expected: 4
    Actual: 3
    And I can't seem to find a way around it.

  • Custom User Avatar

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

  • Custom User Avatar

    Got the right output but as int, not binary. Had to check the discussion and read up on binary to really get it.
    Initially I thought it was just to pass the binary representation (i.e.: 1111 for 15). But I was getting the actual int 1111 not it's binary equivalent.
    Tricky stuff.

  • Custom User Avatar

    The "test" button will only run a few tests. After that passes you shold use the "attempt" button and that should do it.