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've had a closer look. The random tests don't actually test anything as
numbers.size()
always returns0
since writing past the end ofthe vector doesn't cause it to grow.Also, you are just testing the true/false aspect and not what the first non-consecutive number found was.
thank you for the review, i've just added some random tests
Thanks for the C++ translation.
Could you also add some random tests please?