Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You can always use
console.log()
for debugging. And please, use the English language, so that everyone can understand you.Основные тесты проекйдены.
Но есть 3 теста какие-то слуайные, которые я не понимаю, что проверяют.
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!
Approved
python new test framework is required. updated in this fork
no example tests with left overs... (the specs are very weird and unintuitive, btw...)
O_o
Yes, I approved it. I understood the description perfectly fine, and did not consider the specs incomplete.
I'm fine with that, since author is no longer active and kata is nice. I've updated the description to improve the specs.
Updated description and added test cases in example section of description to show behavior.
Specification updated. 2 Examples added to show both possible cases (box completely filled, box filled with as much as possible)
updated description, clear now?
For those who don't know the rules, this may be a more understandable explanation:
The description is very unclear. More details should be provided on how to place the boxes.
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...