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.
Yes, there are already several open issues about the tests, so I'll close this one.
Sory for my bad English,
But I think that this Kata must have more tests, for example, I write a simple code where I counting amaunts in every 3*3 square,
in every horizontal and vertical line and compare this sums with 45(it is a sum from 1 to 9).
[
[4, 3, 4, 6, 7, 8, 9, 1, 3],
[6, 7, 2, 1, 9, 5, 3, 4, 8],
[2, 9, 8, 3, 4, 2, 5, 6, 6],
[8, 5, 9, 7, 6, 1, 4, 2, 3],
[4, 2, 6, 8, 5, 3, 7, 9, 1],
[7, 1, 3, 9, 2, 4, 8, 5, 6],
[9, 6, 1, 5, 3, 7, 2, 8, 4],
[2, 8, 7, 4, 1, 9, 6, 3, 5],
[3, 4, 5, 2, 8, 6, 1, 7, 9]
] - this is the test where my solution does not work, but with my silution I passed all the tests.
There you can see my code - https://pastebin.com/PDuUXBYs
I hope that not only me find this problem, sorry if I copy someones issue
and each of the nine 3x3 sub-grids (also known as blocks) contain all of the digits from 1 to 9.
Not an issue.
Test:
{1, 2, 3, 4, 5, 6, 7, 8, 9}
{2, 3, 1, 5, 6, 4, 8, 9, 7}
{3, 1, 2, 6, 4, 5, 9, 7, 8}
{4, 5, 6, 7, 8, 9, 1, 2, 3}
{5, 6, 4, 8, 9, 7, 2, 3, 1}
{6, 4, 5, 9, 7, 8, 3, 1, 2}
{7, 8, 9, 1, 2, 3, 4, 5, 6}
{8, 9, 7, 2, 3, 1, 5, 6, 4}
{9, 7, 8, 3, 1, 2, 6, 4, 5}
Expected: False
But... It's returns true;