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.
Why did the issue about this being a duplicate got resolved?
This is an exact duplicate of https://www.codewars.com/kata/553a2461098c64ae53000041. Solutions from that kata can pass this kata with no modifications.
Repeated number tests
has nothing to do with what is actually tested in that block => the title must be changedthe Big tests and the repeated number tests should be merged into one single
test.describe
block, picking randomly one type of case or the other, and all that in random order.This translates to:
[(input,output), ...]
Really...? => Fix the range, rather.
the reference solution is visible to the user through a stacktrace, if their code is raising an error (= don't ever wrote actual solution in the statement calling the user's function)
Re-raising issue below. I understand that you're new to codewars, however, please don't resolve issues that aren't resolved. Duplicate katas should be unpublished (or the voting system will ensure that they're retired after so many negative votes).