From e48233f10c5e31cf95504bac9832258b78358859 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Wed, 11 Mar 2020 11:01:03 +0100 Subject: [PATCH] Add generic test by nikxda --- generic_test_input.txt | 103 ++++++++++++++++++ generic_test_output.txt | 155 +++++++++++++++++++++++++++ src/edu/kit/informatik/MainTest.java | 5 + 3 files changed, 263 insertions(+) create mode 100644 generic_test_input.txt create mode 100644 generic_test_output.txt diff --git a/generic_test_input.txt b/generic_test_input.txt new file mode 100644 index 0000000..bf8e5fc --- /dev/null +++ b/generic_test_input.txt @@ -0,0 +1,103 @@ +start metal,wood,plastic,metal,metal,wood,wood,plastic,plastic,metal,wood,wood,spider,spider,metal,metal,spider,wood,metal,plastic,wood,wood,plastic,plastic,thunderstorm,metal,metal,wood,wood,snake,tiger,plastic,plastic,plastic,plastic,plastic,wood,metal,metal,wood,wood,wood,wood,wood,metal,metal,metal,plastic,plastic,plastic,plastic,plastic,metal,spider,snake,snake,snake,snake,spider,tiger,tiger,tiger,tiger,metal +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +build? +list-resources +build shack +build? +draw +rollD4 4 +draw +rollD4 1 +list-resources +draw +draw +build? +build axe +build? +draw +rollD6 1 +rollD8 1 +rollD4 1 +draw +draw +draw +draw +draw +draw +draw +list-resources +build? +build fireplace +build? +list-buildings +list-resources +draw +list-resources +list-buildings +draw +draw +draw +draw +build? +build sailingraft +build? +rollD8 1 +rollD4 1 +list-resources +list-buildings +draw +rollD6 1 +draw +rollD4 1 +rollD8 1 +rollD6 1 +list-resources +build? +draw +rollD4 1 +rollD6 1 +rollD8 a +rollD8 9 +rollD8 0 +rollD8 3 +draw +draw +draw +draw +draw +draw +build? +draw +draw +draw +draw +build? +build fireplace +build? +draw +build? +build ballon +draw +build? +build axe +rollD4 1 +rollD8 1 +rollD6 1 +reset +list-resources +list-buildings +draw +draw +draw +quit diff --git a/generic_test_output.txt b/generic_test_output.txt new file mode 100644 index 0000000..f19d8d7 --- /dev/null +++ b/generic_test_output.txt @@ -0,0 +1,155 @@ +OK +metal +wood +plastic +metal +metal +wood +wood +plastic +plastic +metal +wood +wood +axe +club +fireplace +sailingraft +shack +metal +wood +plastic +metal +metal +wood +wood +plastic +plastic +metal +wood +wood +OK +axe +club +fireplace +spider +survived +spider +lose +plastic +metal +metal +wood +wood +metal +metal +axe +OK +EMPTY +spider +