Skip to content

Commit

Permalink
udpate tests after single game change
Browse files Browse the repository at this point in the history
  • Loading branch information
bovard committed Nov 14, 2024
1 parent 1d8c20c commit f083db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kaggle_environments/envs/chess/test_chess.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ def test_chess_three_fold():
json = env.toJSON()
assert json["name"] == "chess"
assert json["statuses"] == ["DONE", "DONE"]
assert json["rewards"] == [1.0, 1.0]
assert json["rewards"] == [0.5, 0.5]

def test_chess_100_move_rule():
env = make("chess", debug=True)
env.run(["board_shuffle", "board_shuffle"])
json = env.toJSON()
assert json["name"] == "chess"
assert json["statuses"] == ["DONE", "DONE"]
assert json["rewards"] == [1.0, 1.0]
assert json["rewards"] == [0.5, 0.5]

def test_sufficient_material():
game = Game()
Expand Down

0 comments on commit f083db2

Please sign in to comment.