Skip to content
Snippets Groups Projects

Updated pre commit config versions and added a sort y on start time method

Merged Simon Bjurek requested to merge sort-y-locations-scheduler into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -806,6 +806,6 @@ class TestYLocations:
schedule.show()
assert schedule._y_locations == {'in0': 0, 'cmul0': 1, 'add0': 3, 'out0': 2}
schedule.move_y_location('add0', 1, insert=True)
assert schedule._y_locations == {'in0': 0, 'cmul0': 3, 'add0': 1, 'out0': 2}
assert schedule._y_locations == {'in0': 0, 'cmul0': 2, 'add0': 1, 'out0': 3}
schedule.move_y_location('out0', 1)
assert schedule._y_locations == {'in0': 0, 'cmul0': 2, 'add0': 1, 'out0': 1}
Loading