Ad
  • Custom User Avatar

    Start adding cards from the left half first.

    The tests actually expect to add cards from the left half first if the number of cards are odd, and from the right half first otherwise.

    Even the 2nd fixed test contradicts the spec: if done properly the first card in the input should go to the first card in the output, but AS was in place of AH in the test case.

  • Custom User Avatar
  • Default User Avatar

    Hi, with Python I have trouble with some random test, for instance with this landscape:
    c tHu6
    Yd7+f
    *

    my solution fail:
    'cAtHu6\n Yd7+f\n*'

    kata response should equal:
    'c\n \n*'

    I don't understand why.
    Am I miss something ?

  • Default User Avatar

    javascript, haven't checked elsewhere:
    Is it intentional that row widths are not all the same? for example:

    {
      widths: [ 10, 10, 10, 1, 1 ],
      landscape: ' ou   S   \nI    tu=  \n  A a*n2  \n \ns'
    }
    

    one could make an argument for that solutions should be looking for lack-of-content, but I find it really weird to use two different representations of it: space, or being out of bounds of the string

  • Default User Avatar

    javascript: contains tests with flipped actual/expected

  • Custom User Avatar

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