I think that fixed it. Try again!
Ok, the randomized tests are now scrambled versions of a solved board.
Interesting. I'm going to change how the random boards are created and then get back to this.
Also, any feedback on better wording for the instructions is welcome.
I'm assuming that was the case.
Currently the tests are not putting an acceptable effort to catch bad solutions, because I misread the task and wrote a completely wrong solution and yet it still passes besides the two fixed tests expecting false. There are more things that should appear in the tests.
This comment is hidden because it contains spoiler information about the solution
There should be a test with maximum numbers like solution(10000000,19,23,25,27,28,29).
Meanwhile, your solution can't even handle solution(0,19,23,25,27,28,29).
An O(n * len(factors)) solution: https://www.codewars.com/kata/reviews/5e2837f1bb3beb00011a0b1f/groups/5e28612383dbcd0001385f8d
Is is supposed to pass?
O(n * len(factors))
Objects do not have a notion of property orders, so the way the test is done is basically wrong.
If performance is required, then the input range should be specified.
This is so condensed and beautiful.