Add test case

This commit is contained in:
Arne Keller 2020-02-18 09:42:20 +01:00
parent 25d7ba0dce
commit 1ab66a2292
2 changed files with 26 additions and 0 deletions

13
fuzz9_input.txt Normal file
View File

@ -0,0 +1,13 @@
add track (2147483647,0) -> (0,0)
add track (0,0) -> (-2147483648,0)
list tracks
create engine electrical T3 Marie 1 false true
add train 1 T3-Marie
put train 1 at (0,0) in direction -1,0
step 1000
delete train 1
add train 1 T3-Marie
put train 1 at (2147483637,0) in direction 1,0
step 10
step 1
exit

13
fuzz9_output.txt Normal file
View File

@ -0,0 +1,13 @@
1
2
t 1 (2147483647,0) -> (0,0) 2147483647
t 2 (0,0) -> (-2147483648,0) 2147483648
T3-Marie
electrical engine T3-Marie added to train 1
OK
Train 1 at (-1000,0)
OK
electrical engine T3-Marie added to train 1
OK
Train 1 at (2147483647,0)
Crash of train 1