Fix error messages in test cases

This commit is contained in:
Arne Keller 2020-02-19 08:16:53 +01:00
parent 7e28bdc446
commit a8367d84b3
5 changed files with 8 additions and 6 deletions

View File

@ -11,7 +11,7 @@ T3-Emma
3 3
Error, can not add rolling stock to placed train Error, can not add rolling stock to placed train
Error, can not add rolling stock to placed train Error, can not add rolling stock to placed train
Error, could not place train Error, train is already placed
Crash of train 1 Crash of train 1
OK OK
OK OK

View File

@ -24,5 +24,5 @@ passenger coach W2 added to train 1
OK OK
OK OK
OK OK
Error, could not place train Error, train not found
Crash of train 1 Crash of train 1

View File

@ -1,6 +1,6 @@
1 1
2 2
Error, invalid track segment: not a straight line Error, track is not connected to other tracks
OK OK
OK OK
Error, could not delete rail segment Error, could not delete rail segment
@ -9,5 +9,5 @@ Error, could not delete rail segment
2 2
ABC-DEF ABC-DEF
diesel engine ABC-DEF added to train 1 diesel engine ABC-DEF added to train 1
Error, could not place train Error, train not found
OK OK

View File

@ -169,3 +169,4 @@ add track (2,0) -> (0,0)
create engine steam T5 Worsch 9 true true create engine steam T5 Worsch 9 true true
add train 8 T5-Worsch add train 8 T5-Worsch
put train 8 at (0,0) in direction 0,-1 put train 8 at (0,0) in direction 0,-1
create engine electrical T5 Kühnlein 17 true true

View File

@ -23,10 +23,10 @@ special coach W3 added to train 1
\__________________/ _|--/~\------/~\-+ \__________________/ |__________________| |__________________| |_________________| \__________________/ _|--/~\------/~\-+ \__________________/ |__________________| |__________________| |_________________|
(O)(O) (O)(O) //// \_/ \_/ (O)(O) (O)(O) (O) (O) (O) (O) (O) (O) (O)(O) (O)(O) //// \_/ \_/ (O)(O) (O)(O) (O) (O) (O) (O) (O) (O)
Error, no such train Error, no such train
Error, could not place train Error, train not found
4 4
passenger coach W4 added to train 2 passenger coach W4 added to train 2
Error, could not place train Error, train is not valid
OK OK
OK OK
1 1
@ -193,3 +193,4 @@ OK
T5-Worsch T5-Worsch
steam engine T5-Worsch added to train 8 steam engine T5-Worsch added to train 8
Error, could not place train Error, could not place train
T5-Kühnlein