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]
Loading collection data...
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]