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 second that
Is it just me or the Random Tests do not match the format of the Sample Tests?
I have worked on it accordingly now. Hope this resolves the issue.
I have worked on it now. Hope this resolves the issue.
I have used
assert.approximately
to fix the issue.I have created a separate function now that checks the output elements individually and have used
assert.approximately
in case of the rounded output. Is it okay now? if you could please verify.I have solved the issue with the random cases sir.
assert.approximately
only works for numbers though; whereas my function requires an array output. Could you please suggest me an alternate possible solution?Alright! I'll work on it right away
I'll try to use
chai-almost
. Thank you for making me understand the issue.Will using
chai-almost
fix the issue sir?