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 don't quite understand how logical IF operators are used here. Can someone explain?
Codewars Forums - Kata Best Practices - Have Full Code Coverage
Having only 3 simple fixed assertions in the entire test suite is not acceptable and is definitely far from sufficient to prevent logically flawed and/or hardcoded solutions to pass to say the least. You should either (1) increase the number of unique, distinct fixed assertions to at least 20 and including edge cases (the bare minimum to resolve this Issue) or (2) as @ZozoFouchtra suggested, add 100+ random tests which is generally favoured over just 20+ fixed tests.
Duplicates of:
https://www.codewars.com/kata/lost-number-in-number-sequence
https://www.codewars.com/kata/find-the-missing-term-in-an-arithmetic-progression
It's a double. I've done this before.
random tests missing.
; ) )