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.
A problem with your code is not a kata issue, read this: https://docs.codewars.com/training/troubleshooting#print-input
You should return only the 2 first elements of the sequence when n is 2. It doesn't matter the signature has 3 elements. Not a kata issue.
Read the description again, use the unit's worth value. The expected result is correct. Not a kata issue.
Not a kata error, all is said.
But this is what the error message tries to tell you:
" >>>arrays first differed at element [0]<<<; expected:<1836311903> but was:<-2133083224>"
- it means that you returned an array, but its 0-th element is different than 0-th element of the expected array.I do agree it could be a bit clearer, but still the message does not present "a test which should not be there".
What language are you training? Why this test should not exist?