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 think that it's one of the best solutions: here filter is called two times, so it's likely that you iterate two time on input, which is unnecessay. This can be solve with a vanilla for loop & one if.
In the constructor with args, no need to set Volume&Surface since they are already calculated using Side setter....
same
It's during a getPrimes test. Maybe I missed something but the expected sequence was wrong (for instance another test, when I save&attempt, I log start&finish parameters; given 3070 & 1530, the test fails asking for an expected sequence begining with : "Test Failed: Expected: 1531,1535,1537,1541,1543,1547,1549,1553,1555,1559,1561,1565...." that does not contains only primes.
Are you sure the tests are still good ?
For 5006 and 3018 I got an expected result begining with "Test Failed: Expected: 3019,3023,3025,3029,3031...."
It contains 3025 and it's of course not a prime number...