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.
Got it, yeah, one extra at the end. Thanks.
Very likely it's the line ending that you have. I will add this note to all tests.
What am I doing wrong here?
Output:
Should return single square for size of 1 and should be a red square.
Expected: [r]
, instead got: [r]
Should return alternating squares.
Expected: [r][b]
[b][r]
, instead got: [r][b]
[b][r]
Expected: [r][b][r]
[b][r][b]
[r][b][r]
, instead got: [r][b][r]
[b][r][b]
[r][b][r]