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.
Unclear issue, closing
tolerance and actual value were swapped in the assertions. Corrected.
resolved
This comment is hidden because it contains spoiler information about the solution
That seems a problem with your code, not a kata issue.
Are you returning the result?
JavaScript:
i get error in every case with array length more than 1.
For example in this expression '10 * 5 / 2' :
"Expected actual value undefined to approximately equal expected value 25 (accepted relative error: 1e-9)"
and actually i have right answer in output, can somebody explain me, what is going on?
This comment is hidden because it contains spoiler information about the solution
I am sorry. 5254 guys passed the kata, the tests are the same in all languages. It is not an issue of the kata but maybe a problem in your code.
Who can explain to me, why my result not acceptable?
['EAST', 'WEST', 'SOUTH', 'NORTH', 'SOUTH', 'WEST', 'WEST', 'EAST', 'SOUTH', 'NORTH']
✘ Expected: '['SOUTH', 'WEST']', instead got: '['WEST', 'SOUTH']'
['NORTH', 'SOUTH', 'EAST', 'WEST', 'NORTH', 'SOUTH', 'WEST', 'NORTH', 'EAST', 'WEST', 'NORTH', 'SOUTH', 'EAST', 'WEST']
✘ Expected: '['WEST', 'NORTH']', instead got: '['NORTH', 'WEST']'
['WEST', 'EAST', 'SOUTH', 'NORTH', 'NORTH', 'EAST', 'WEST', 'EAST', 'NORTH', 'SOUTH']
✘ Expected: '['NORTH', 'EAST']', instead got: '['EAST', 'NORTH']'