holy fuking shit
This commit is contained in:
@@ -4,12 +4,12 @@ from referee import CostBreakdown, LocalSimulator, Source, clear_cost, measure_c
|
||||
from referee.timing import move_time
|
||||
|
||||
|
||||
def payload(id="e", **extra):
|
||||
return dict(arena_id="default", robot_id="2026001", request_id=id, **extra)
|
||||
def payload(request_id="e", **extra):
|
||||
return dict(arena_id="default", robot_id="2026001", request_id=request_id, **extra)
|
||||
|
||||
|
||||
def measure(id="m", x=0, y=0, channel=1):
|
||||
return payload(id, position=dict(x=x, y=y), channel=channel)
|
||||
def measure(request_id="m", x=0, y=0, channel=1):
|
||||
return payload(request_id, position=dict(x=x, y=y), channel=channel)
|
||||
|
||||
|
||||
def test_attachment_timing_example():
|
||||
|
||||
Reference in New Issue
Block a user