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