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.
Please specify a language. Help us help you. Closing.
I also like your solution! I made the kata more difficult to prevent it. Sorry ;-)
I thought you meant the main test case and forgot about the example test case :-) I fixed it. Thanks!
I think the argument order in the test is correct. The actual value is the first one and the expected value is the second one (like you wrote).
Thank you very much kayahr for reviewing and giving valuable feedback, appreciate it!!!
thanks for the link! but I changed from Test.expect into Test.assertEquals method all 3 example, 14 final test cases in "Always perfect" kata and 3 example, 11 final test cases in "Big number problem" kata, are you sure it is still broken?
thanks very much kayahr, I changed all Test.expect into Test.assertEquals. I am new in codewars this is just my second kata. I didnt know about assertEquals method, is there a document which explains that method here?
can you try to check now the kata?
You're right. There was a problem with the second example test case, i fixed it.
Hi kayahr,
can you specify, what did you pass and what it returnded. clarify your problem, what exactly happened? then i will try to figure it out.
Hi kayahr,
Is it possible that your array has some extra "null" cells? Can you test for array dimensions and see if it's what expected?
If my clue didn't lead you anywhere, can you please post your code (marking it as spoiler)?
Thanks