From 726bf0b0d63a103fbb78fcca701d3ad317bc45d5 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Fri, 6 Mar 2020 08:43:04 +0100 Subject: [PATCH] Add testcase for teleporting across a gap --- fuzz12_input.txt | 20 ++++++++++++++++++++ fuzz12_output.txt | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 fuzz12_input.txt create mode 100644 fuzz12_output.txt diff --git a/fuzz12_input.txt b/fuzz12_input.txt new file mode 100644 index 0000000..a674370 --- /dev/null +++ b/fuzz12_input.txt @@ -0,0 +1,20 @@ +add track (0,0) -> (0,14) +create engine diesel T3 Sabine 1 false true +add train 1 T3-Sabine +put train 1 at (0,0) in direction 0,-1 +add track (0,0) -> (2,0) +add track (2,0) -> (2,2) +add track (2,2) -> (1,2) +create engine diesel T3 Emma 1 false true +create coach passenger 2 true true +create coach passenger 3 true true +create coach passenger 2 true false +add train 1 T3-Emma +add train 1 W2 +put train 1 at (0,0) in direction 1,0 +step 64 +delete track 1 +delete track 2 +delete track 3 +delete track 4 +exit diff --git a/fuzz12_output.txt b/fuzz12_output.txt new file mode 100644 index 0000000..42c994d --- /dev/null +++ b/fuzz12_output.txt @@ -0,0 +1,19 @@ +1 +T3-Sabine +diesel engine T3-Sabine added to train 1 +OK +2 +3 +4 +T3-Emma +1 +2 +3 +Error, can not add rolling stock to placed train +Error, can not add rolling stock to placed train +Error, train is already placed +Crash of train 1 +OK +OK +OK +OK