def test_can_attack(self): board = self.get_wrong_board_full() assert not can_t_attack(4, board)
def test_can_t_attach_soluce(self): board = self.get_board_soluce() assert can_t_attack(4, board)
def test_can_t_attack_full(self): board = self.get_good_board_not_full() assert can_t_attack(4, board)
def test_can_t_attack_empty(self): board = generate_board(4) assert can_t_attack(4, board)