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