Example #1
0
def test_legal_move():
    # this is a dummy test for the dummy implementation
    cb = Chessboard(Game.WHITE_PIECES, Game.BLACK_PIECES)
    p = Rook(0, 0, "W", "WR1")
    assert p.is_legal_move([1, 1], cb.status()) == True