| 163 | } |
| 164 | |
| 165 | bool in_col(board_element *b, unsigned row, unsigned col, unsigned short p) |
| 166 | { |
| 167 | for (unsigned r = 0; r < BOARD_DIM; ++r) |
| 168 | if (r != row && b[r * BOARD_DIM + col].solved_element == p) |
| 169 | return true; |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | bool in_block(board_element *b, unsigned row, unsigned col, unsigned short p) |
| 174 | { |
no outgoing calls
no test coverage detected