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.
I am new to codewars, how can I see the unit tests used when I press "Attempt" button? (not the ones in the "Sample Tests")
EDIT:
Figured it out, just need to print out the input array in the function and it will show up in the Log of failed tests.
Here is the "testUpAndDown":
capacity = 5;
input: ({3}, {2}, {0}, {2}, {}, {}, {5})
expectedResult: {0, 1, 2, 3, 6, 5, 3, 2, 0}
This comment is hidden because it contains spoiler information about the solution