Skip to content

Commit

Permalink
test_examples: assert model.steps == 10
Browse files Browse the repository at this point in the history
Confirm that model.steps is correctly increased to  10, and not some other value
  • Loading branch information
EwoutH committed Aug 30, 2024
1 parent 0fd7f82 commit 3d29e4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ def test_model_steps(model_class):
model = model_class() # Assume no arguments are needed
for _ in range(10):
model.step()
assert model.steps == 10

0 comments on commit 3d29e4c

Please sign in to comment.