Fix test for model 2B

This commit is contained in:
Arne Keller 2020-03-03 07:28:27 +01:00
parent 5267177f4e
commit 12721156f5
2 changed files with 12 additions and 15 deletions

View File

@ -31,6 +31,7 @@ put train 2 at (0,0) in direction -1,0
add track (1,0) -> (10,0) add track (1,0) -> (10,0)
delete track 2 delete track 2
step 1 step 1
delete track 2
create engine diesel T2 Gamma 10 true false create engine diesel T2 Gamma 10 true false
create train-set T2 Epsilon 1 true false create train-set T2 Epsilon 1 true false
create engine steam T2 Epsilon 1 true false create engine steam T2 Epsilon 1 true false
@ -60,29 +61,27 @@ delete train 4
add train 2 T2-Rho add train 2 T2-Rho
add track (1,0) -> (10,0) add track (1,0) -> (10,0)
put train 1 at (7,0) in direction -1,0 put train 1 at (7,0) in direction -1,0
put train 5 at (0,0) in direction -1,0
step 8 step 8
delete track 1 delete track 1
delete track 2 delete track 2
add track (0,0) -> (10,0) add track (0,0) -> (10,0)
add track (10,0) -> (20,0) add track (10,0) -> (20,0)
add track (20,0) -> (30,0) add track (20,0) -> (30,0)
put train 1 at (10,0) in direction 1,0 put train 1 at (9,0) in direction 1,0
put train 2 at (15,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 put train 5 at (21,0) in direction -1,0
step 1 step 2
add track (-10,0) -> (0,0) add track (-10,0) -> (0,0)
add track (30,0) -> (40,0) add track (30,0) -> (40,0)
create train-set T1 Albert 1 true true create train-set T1 Albert 1 true true
create train-set T1 Berta 2 true true create train-set T1 Berta 2 true true
add train 3 T1-Albert add train 3 T1-Albert
add train 4 T1-Berta add train 4 T1-Berta
put train 4 at (10,0) in direction 1,0 put train 4 at (9,0) in direction 1,0
put train 1 at (0,0) in direction 1,0 put train 3 at (21,0) in direction -1,0
put train 3 at (20,0) in direction -1,0 put train 2 at (31,0) in direction -1,0
put train 2 at (30,0) in direction -1,0
put train 5 at (15,0) in direction 1,0 put train 5 at (15,0) in direction 1,0
step 41 step 42
add switch (40,0) -> (10,10),(40,40) add switch (40,0) -> (10,10),(40,40)
add switch (40,0) -> (40,40),(10,10) add switch (40,0) -> (40,40),(10,10)
add switch (40,0),(10,0),(0,10) add switch (40,0),(10,0),(0,10)

View File

@ -36,8 +36,9 @@ T2-Gamma
diesel engine T2-Gamma added to train 2 diesel engine T2-Gamma added to train 2
OK OK
2 2
OK Error, could not delete rail segment
Crash of train 2 Crash of train 2
OK
Error, engine identifier already used Error, engine identifier already used
T2-Epsilon T2-Epsilon
Error, engine identifier already used Error, engine identifier already used
@ -66,7 +67,7 @@ OK
2 1 f 1 true true 2 1 f 1 true true
3 1 s 1 true true 3 1 s 1 true true
4 none p 1 true true 4 none p 1 true true
none T2 Epsilon 1 false false none T2 Epsilon 1 true false
3 T2 Lambda 1 true true 3 T2 Lambda 1 true true
2 d T2 Gamma 1 true true 2 d T2 Gamma 1 true true
1 e T2 Omega 2 true true 1 e T2 Omega 2 true true
@ -83,9 +84,7 @@ OK
steam engine T2-Rho added to train 2 steam engine T2-Rho added to train 2
2 2
OK OK
OK
Crash of train 1 Crash of train 1
Crash of train 5
OK OK
OK OK
1 1
@ -105,9 +104,8 @@ OK
OK OK
OK OK
OK OK
OK
Crash of train 1,3,4,5
Crash of train 2 Crash of train 2
Crash of train 3,4,5
Error, start has to be connected in straight lines to end positions! Error, start has to be connected in straight lines to end positions!
Error, start has to be connected in straight lines to end positions! Error, start has to be connected in straight lines to end positions!
Error, invalid add switch argument syntax Error, invalid add switch argument syntax