Skip to content
Snippets Groups Projects
Commit 0b8e4dd4 authored by Simon Bjurek's avatar Simon Bjurek
Browse files

ran pre commit on all files.

parent a1b9f24c
No related branches found
No related tags found
1 merge request!476Updated pre commit config versions and added a sort y on start time method
Pipeline #156958 passed
......@@ -16,6 +16,6 @@ PE_COLOR = (0, 185, 231) # LiuBlue
PE_CLUSTER_COLOR = (210, 238, 249) # LiuBlue5
MEMORY_COLOR = (0, 207, 181) # LiuGreen
MEMORY_CLUSTER_COLOR = (213, 241, 235) # LiuGreen5
IO_COLOR = (23, 199, 210) # LiuTurqoise
IO_CLUSTER_COLOR = (215, 239, 242) # LiuTurqoise5
IO_COLOR = (23, 199, 210) # LiuTurquoise
IO_CLUSTER_COLOR = (215, 239, 242) # LiuTurquoise5
MUX_COLOR = (255, 100, 66) # LiuOrange
......@@ -804,8 +804,7 @@ class TestYLocations:
schedule = Schedule(sfg_simple_filter, ASAPScheduler())
# Assign locations
schedule.show()
print(schedule._y_locations)
assert schedule._y_locations == {'in0': 0, 'cmul0': 1, 'add0': 2, 'out0': 3}
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': 2, 'add0': 1, 'out0': 3}
schedule.move_y_location('out0', 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment