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.
Sure.
Your solution is buggy and it returns incorrect results. Now you can choose between hating on the kata, or learning what you did wrong and how to fix it. Your choice.
The problem of implicit conversions causing data loss is a real life problem which bites unaware programmers quite often. It's up to you to decide whether you want to know how to deal with it and fix it, or get upset over a problem which you yourself introduced.
https://www.calculatorsoup.com/calculators/discretemathematics/factorials.php
Scientific notation loses precision.
From: https://coolconversion.com/math/factorial/What-is-the-factorial-of_30_
Seems like 7 zeros to me.
For that you should have to write a single assertion for each
it
block. Either way, the error message tells you exactly which assertion you failed.