def test_black_piece_cannot_move_northwest(self): piece = Piece("black", 10) assert not piece.move(Direction.NW)
def test_white_piece_can_move_northwest(self): piece = Piece("white", 10) assert piece.move(Direction.NW)
def test_black_piece_can_move_southwest(self): piece = Piece("black", 10) assert piece.move(Direction.SW)
def test_white_piece_cannot_move_southwest(self): piece = Piece("white", 10) assert not piece.move(Direction.SW)