Skip to content

Commit

Permalink
Add with_utilization to generate test
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrjurkiewicz committed Aug 8, 2024
1 parent ea1c0c7 commit 7e1d261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topohub/tests/test_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_save_gabriel(tmp_path):
for s in [25, 50, 75, 100]:
for i in [0, 1]:
topohub.generate.GabrielGenerator.save_topo(s, (i * topohub.generate.MAX_GABRIEL_NODES) + s, filename=f'{tmp_path}/gabriel/{s}/{i}',
with_plot=True, with_topo_stats=True, with_path_stats=True)
with_plot=True, with_utilization=True, with_topo_stats=True, with_path_stats=True)
with (importlib.resources.files(topohub) / f'data/gabriel/{s}/{i}.json').open() as file, open(f'{tmp_path}/gabriel/{s}/{i}.json') as new_file:
org = json.load(file)
new = json.load(new_file)
Expand Down

0 comments on commit 7e1d261

Please sign in to comment.