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.
The problem statement mentions two kinds of values, so if it's not one, then it's the other. There's no second thing you can test.
The spec doesn't say that there should be any such check, it even says that there won't be any NaN (why would there be?)
This solution has no NaN checks.