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 tried to improve the assertion messages, and added some input validation. if you want to train on this improved version, save your code somewhere, click the RESET button, and paste back your code.
the logging for Shell in this kata is not ideal, but pasting your code and running the sample tests, i do see:
"shell stdout" means your answer here, while "expected" is the correct answer and
835871232077058, 1
the inputIs
echo
the proper way to return an output of a function in Bash? In my Bash script, I am storing the number of iterations ascounter
. My script finishes withecho $counter
and the value printed to the console matches the expected output, but the the testing script says that it got 0.Not clear description. Can you describe getting the value in examples?
I can't understand the conditions. The tests pass and the rest does not. Can you explain?
We need a clear explanation of how to do this. “preset Colors” it’s not clear how and what to do with it. C#