Skip to content

Commit

Permalink
test and benchmark fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Sep 29, 2024
1 parent 06e2bb3 commit 6a8c9c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/BoltzmannWealth/boltzmann_wealth.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, seed=None, n=100, width=10, height=10):
width: the width of the grid
height: the height of the grid
"""
super().__init__(seed)
super().__init__(seed=seed)
self.num_agents = n
self.grid = mesa.space.MultiGrid(width, height, True)
self.datacollector = mesa.DataCollector(
Expand Down
1 change: 0 additions & 1 deletion tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def test_model_set_up():
"""Test Model initialization."""
model = Model()
assert model.running is True
assert model.schedule is None
assert model.steps == 0
model.step()
assert model.steps == 1
Expand Down

0 comments on commit 6a8c9c7

Please sign in to comment.