Ad
  • Custom User Avatar

    You can always use console.log() for debugging. And please, use the English language, so that everyone can understand you.

  • Custom User Avatar

    Основные тесты проекйдены.
    Но есть 3 теста какие-то слуайные, которые я не понимаю, что проверяют.

  • Default User Avatar

    Basic Test Cases
    Test Passed
    True should equal False
    Test Passed
    Test Passed

    I believe "a" and "c" conform:
    1 element each
    values are different
    lengh of each element string == 1
    Why do they not? Help please!

  • Custom User Avatar

    Approved

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Custom User Avatar

    no example tests with left overs... (the specs are very weird and unintuitive, btw...)

  • Default User Avatar

    O_o

  • Custom User Avatar

    Yes, I approved it. I understood the description perfectly fine, and did not consider the specs incomplete.

  • Custom User Avatar

    I'm fine with that, since author is no longer active and kata is nice. I've updated the description to improve the specs.

  • Custom User Avatar

    Updated description and added test cases in example section of description to show behavior.

  • Custom User Avatar

    Specification updated. 2 Examples added to show both possible cases (box completely filled, box filled with as much as possible)

  • Custom User Avatar

    updated description, clear now?

  • Default User Avatar

    For those who don't know the rules, this may be a more understandable explanation:

    Get a 'char' from 'string'
    in order from top to bottom, from left to right, Find a place where you can put it down
    if found such a place, put down the char. 
    otherwise, put this char aside, continue to try to put the next char.
    and so on.
    
  • Default User Avatar

    The description is very unclear. More details should be provided on how to place the boxes.

  • Custom User Avatar
    expected 'N, o, P' to equal 'N, P'
    

    That's another missing spec: Elements that can't be filled will be skipped instead of halting the entire packing process.

    This is, again, not specified anywhere, and only exists in the random tests. And this doesn't make much sense either (if you can't pack everything in a box, you can't pack everything in anyways so trying to pack more elements into the box is futile).

  • Loading more items...