I added tests that check for valid months and days.
You are only ever provided with a single dimension.
What does "checking the color of 8 X 3 field" mean when you are given a dimension of 8. It will be an 8 x 8 square.
How useful is this message, "Here you should have whitespace - Expected: 'white', instead got: 'black'"?
PHP translation kumitted. Please check and approve
Hello! Nice kata.
My solution doesn't check for <= 31 for the date, but it still passed the tests.
Nice exercise, but the tests don't cover all possible "corner cases". As a result some solutions that don't follow the description are accepted.
Things the tests don't check:
Yeah I know it's just for testing :), now fixed and working, test cases seems works too. Thx for your effort.
Yes it's right your solution passes without new lines, and now I've changed that. But have you tried console.logging your string? It does not look like a chessboard. That's why it fails the 8x3 check.
example test cases would be awesome.
It accepts board without newline characters but with newline characters it fails at first test's third option which checks 8x3 field.
It would be helpful with these test cases, mark that '#' symbols are equal to black cells and ' ' are white cells.
It's fixed. Sorry about that.Thanks for having a look.
Sorry about that.