kit-programmieren-ws1920-fi.../testcoverage2_input.txt

31 lines
856 B
Plaintext
Raw Normal View History

2020-03-05 14:27:34 +00:00
add track (0,0) -> (10,0)
add switch (-5,0) -> (0,0),(-5,5)
set switch 2 position (-5,5)
create engine diesel T1 Alpha 1 true true
add train 1 T1-Alpha
put train 1 at (5,0) in direction 1,0
step -5
create train-set ICE 1 2 true true
add train 2 ICE-1
create train-set ICE 2 2 true true
add train 3 ICE-2
create train-set ICE 2E 2 true true
add train 4 ICE-2E
create train-set ICE 3 2 true true
add train 5 ICE-3
add track (10,0) -> (20,0)
add track (20,0) -> (30,0)
add track (30,0) -> (40,0)
add track (40,0) -> (50,0)
put train 1 at (9,0) in direction 1,0
put train 2 at (41,0) in direction -1,0
put train 3 at (25,0) in direction 1,0
put train 4 at (19,0) in direction 1,0
put train 5 at (31,0) in direction -1,0
step 2
add switch (50,0) -> (55,0),(50,5)
put train 1 at (51,0) in direction 1,0
delete track 7
put train 1 at (0,0) in direction 0,-1
exit