Ad
  • Custom User Avatar

    Yes, I'm sure I didn't. It took me some time to understand the kata precisely because of that test case I mention (it didn't make any sense, and I thought I was missing something). I wonder if there is any kind of test log to check if someone was editing the tests and forgot to finish or something similar.

    Anyway, when hitting ATTEMPT I was able to submit, so at least there's that :P

  • Custom User Avatar

    I saw something weird and I didn't really know where to report it, hope this is okay.

    In C, I noticed a test case that made no sense:

        {
            const unsigned expected[COUNTS_SIZE] = { ['A'] = 1, ['b'] = 2, ['?'] = 3 };
            tester("aabb", expected);
        }
    

    Unless I'm missing something, the expected result should not contain 'A' or '?'.

    Also, every other test was commented, so I came to raise an issue. However, I wanted to double check before posting, and now all the tests are okay and uncommented. Furthermore, seems like one of the tests in the "Test cases" section is missing when you try to solve the kata (the last one).

    Is this normal? Was someone messing up with this kata?

  • Custom User Avatar

    Thank you both, I got stuck at the time and now when I came back to check your comments, I didn't even understand my approach.

    It's been a month since I asked for help and now that I'm more used to this, I've been able to easily solve it, but I appreciate the help!

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    I'm trying to solve the C translation of this kata but I'm getting more than one card together (if I use printf, I get "3♣Q♠"). Is this the expected behaviour?

  • Custom User Avatar

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

  • Default User Avatar

    It seems there are strings longer than the alphabet in the tests, as I suspected, but I'm not really sure what should I do. I passed the test but I'm filling kind of dirty because I didn't know what I was expected to when a word longer than the alphabet was in the array. I'll look to others solutions now that I passed and try to figure it out, but thanks for your help anyway!

  • Default User Avatar

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

  • Default User Avatar

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