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

73 lines
1.8 KiB
Plaintext
Raw Normal View History

list coaches
list trains
list train-sets
list engines
create engine diesel T2 Phi 1 true true
create engine steam T2 Rho 3 true true
create engine electrical T2 Omega 2 true true
add train 1 T2-Phi
add train 1 T2-Rho
add train 1 T2-Omega
create coach passenger 1 true true
create coach freight 1 true true
create coach special 1 true true
add train 1 W1
add train 1 W2
add train 1 W3
show train +01
show train 00042
put train 42 at (10,0) in direction 1,0
create coach passenger 1 true true
add train 2 W4
put train 2 at (0,0) in direction -1,0
delete train 2
delete rolling stock W4
add switch (0,0) -> (1,0),(0,1)
set switch 1 position (1,0)
create engine diesel T2 Delta 0 true true
create engine diesel T2 Gamma 1 true true
add train 2 T2-Gamma
put train 2 at (0,0) in direction -1,0
add track (1,0) -> (10,0)
delete track 2
step 1
create engine diesel T2 Gamma 10 false false
create train-set T2 Epsilon 1 false false
create engine steam T2 Epsilon 1 false false
create train-set T2 Epsilon 1 false false
create train-set T2 Gamma 1 false false
create train-set T2 Lambda 1 true true
add train 3 T2-Lambda
add train 5 T2-Epsilon
list trains
create coach passenger 1 true true
create coach passenger 1 true true
delete rolling stock W4
create coach passenger 1 true true
delete rolling stock W5
list coaches
list train-sets
list engines
delete train 1
add train 1 T2-Omega
add train 4 W1
add train 5 T2-Phi
add train 6 W2
delete train 2
delete train 3
delete train 4
add train 2 T2-Rho
add track (1,0) -> (10,0)
put train 1 at (7,0) in direction -1,0
put train 5 at (0,0) in direction -1,0
step 8
delete track 1
delete track 2
add track (0,0) -> (10,0)
add track (10,0) -> (20,0)
add track (20,0) -> (30,0)
put train 1 at (10,0) in direction 1,0
put train 2 at (15,0) in direction 1,0
put train 5 at (20,0) in direction -1,0
step 1