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.
Your code fails with input values like this one:
assertFalse("372436920 is not prime", Prime.isPrime(372436920));
and that's a problem with your code, not a kata issue.That negative number you see there (not sure why) is not the input value of the test your code is failing, add
System.out.println(num + "\n");
to your function to see the input.