Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gistbatch committed Dec 15, 2023
1 parent a1da092 commit c8e6563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/scheduling/test_generate_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ def test_generate_schedule() -> None:
problem = ExecutableProblem(jobs, accelerators, big_m=100, timesteps=20)

schedule = generate_schedule(problem, SchedulerType.SIMPLE)
assert len(schedule) <= 3
assert isinstance(schedule, list)
assert len(schedule) <= 4

0 comments on commit c8e6563

Please sign in to comment.