def test_diagonal_check_BLTR_true():
    from agents.common import diagonal_check
    initialBoard = np.ndarray(shape=(6, 7), dtype=BoardPiece)
    initialBoard.fill(NO_PLAYER)
    initialBoard[(5, 0)] = 1
    initialBoard[(4, 1)] = 1
    initialBoard[(3, 2)] = 1
    initialBoard[(2, 3)] = 1
    print(initialBoard)
    assert (diagonal_check(initialBoard, PLAYER1, 0, 5, 1, (- 1)) == True)
def test_diagonal_check_BLTR_true():
    from agents.common import diagonal_check
    initialBoard = np.ndarray(shape=(6, 7), dtype=BoardPiece)
    initialBoard.fill(NO_PLAYER)
    initialBoard[(5, 0)] = 1
    initialBoard[(4, 1)] = 1
    initialBoard[(3, 2)] = 1
    initialBoard[(2, 3)] = 1
    print(initialBoard)
    assert (diagonal_check(initialBoard, PLAYER1, 0, 5, 1, (- 1)) == True)