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.
No problem, I actually like writing tests. :)
Maybe change this:
into this:
Now this test will tell if stream returns next odd numbers or just one over and over again :)
Doesn't look like regex to me :P
Test for filterS method should also check for monoticty. Lost a lot of time here. Filter can return the same stream all the time (as long as the head passes the condition) and all the tests are green but primes takes ages and never completes. Was really hard to find this bug without debugger.