mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 09:24:58 +00:00
Add test case
This commit is contained in:
parent
25d7ba0dce
commit
1ab66a2292
13
fuzz9_input.txt
Normal file
13
fuzz9_input.txt
Normal 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
13
fuzz9_output.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user