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.
Removed random tests for now, I didn't write them so don't know how to resolve them
Awesome, ok. Thanks for the great info!
Ah nice. Hmm are there any resources I can look at so I can write these for future katas?
Hi guys,
Sorry this is my first Kata. What are the random tests that you have added, and what do they test?
I'm trying to stay as true to the game as possible, where you fight for the board by trading minions.
As for the test descriptions, yeah I wasn't too sure about what the best practices are, but from my own experience of doing some katas I found it confusing to know which tests were failing and/or what they were even testing.
Thanks for the feedback, really appreciate it!
Hi,
Yes I was a bit unsure about the 'edge cases', and your right about them, they're rather pointless so I'll remove them. I was going to add error handling too but was thinking that exact same thing abut not focusing on the main task.
Thanks for the feedback on different array lengths, I'll add that in the description!
I also have the same result. I have no idea where it is getting the extra 1 from? So strange...
In IRB mine works perfectly...
I did not know what throw was so was stuck!