From c11fadbb9d08d8048d8cd1af4d5661144f1f423e Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Mon, 2 Mar 2020 23:27:39 +0100 Subject: [PATCH] Fix tests for 2B --- basics_input.txt | 10 +++++----- testcoverage_input.txt | 10 +++++----- train_one_length_input.txt | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/basics_input.txt b/basics_input.txt index 0729f19..eb1ef50 100644 --- a/basics_input.txt +++ b/basics_input.txt @@ -13,13 +13,13 @@ put train 1 at (-5,5) in direction 0,3 step 1 delete train 1 delete rolling stock A-B -create engine steam T1 Alpha 1 false false -create engine electrical T1 Beta 1 false false +create engine steam T1 Alpha 1 true false +create engine electrical T1 Beta 1 true false add train 1 T1-Alpha add train 2 T1-Beta -put train 1 at (0,5) in direction 0,1 -put train 2 at (0,0) in direction 1,0 -step 6 +put train 1 at (0,4) in direction 0,1 +put train 2 at (-1,0) in direction 1,0 +step 7 put train 1 at (0,0) in direction 0,-1 set switch 3 position (0,0) put train 1 at (0,0) in direction 0,-1 diff --git a/testcoverage_input.txt b/testcoverage_input.txt index c5fb251..55d799f 100644 --- a/testcoverage_input.txt +++ b/testcoverage_input.txt @@ -31,11 +31,11 @@ put train 2 at (0,0) in direction -1,0 add track (1,0) -> (10,0) delete track 2 step 1 -create engine diesel T2 Gamma 10 false false -create train-set T2 Epsilon 1 false false -create engine steam T2 Epsilon 1 false false -create train-set T2 Epsilon 1 false false -create train-set T2 Gamma 1 false false +create engine diesel T2 Gamma 10 true false +create train-set T2 Epsilon 1 true false +create engine steam T2 Epsilon 1 true false +create train-set T2 Epsilon 1 true false +create train-set T2 Gamma 1 true false create train-set T2 Lambda 1 true true add train 3 T2-Lambda show train 3 diff --git a/train_one_length_input.txt b/train_one_length_input.txt index 0c2f6aa..fce3531 100644 --- a/train_one_length_input.txt +++ b/train_one_length_input.txt @@ -1,13 +1,13 @@ add track (0,0) -> (5,0) add track (5,0) -> (10,0) create engine diesel T6 Lux 1 true true -create engine diesel T6 Lumen 2 false false +create engine diesel T6 Lumen 2 true false add train 1 T6-Lux add train 2 T6-Lumen -put train 2 at (10,0) in direction 1,0 -put train 1 at (5,0) in direction 1,0 -step 1 -put train 2 at (5,0) in direction 1,0 -put train 1 at (10,0) in direction 1,0 -step 1 +put train 2 at (9,0) in direction 1,0 +put train 1 at (4,0) in direction 1,0 +step 2 +put train 2 at (4,0) in direction 1,0 +put train 1 at (9,0) in direction 1,0 +step 2 exit