From bbfd08f7befc5042b879eff0cd7e9e7c27bfd02d Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 14 Mar 2020 13:45:54 +0100 Subject: [PATCH] Add test: losing after failing to escape --- game_over_after_hangglider_input.txt | 83 ++++++++++++++++++ game_over_after_hangglider_output.txt | 84 +++++++++++++++++++ src/edu/kit/informatik/cardgame/MainTest.java | 5 ++ 3 files changed, 172 insertions(+) create mode 100644 game_over_after_hangglider_input.txt create mode 100644 game_over_after_hangglider_output.txt diff --git a/game_over_after_hangglider_input.txt b/game_over_after_hangglider_input.txt new file mode 100644 index 0000000..75febff --- /dev/null +++ b/game_over_after_hangglider_input.txt @@ -0,0 +1,83 @@ +start wood,wood,wood,wood,wood,wood,wood,wood,wood,wood,wood,wood,wood,plastic,plastic,plastic,plastic,plastic,plastic,plastic,plastic,plastic,plastic,plastic,plastic,metal,metal,metal,metal,metal,metal,metal,metal,metal,metal,metal,metal,metal,metal,spider,spider,spider,spider,spider,snake,snake,snake,snake,snake,tiger,tiger,tiger,tiger,tiger,thunderstorm,wood,wood,wood,plastic,plastic,plastic,plastic,metal,metal +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +rollD4 1 +draw +rollD4 1 +draw +rollD4 2 +draw +rollD4 3 +draw +rollD4 4 +draw +rollD6 2 +draw +rollD6 3 +draw +rollD6 4 +draw +rollD6 5 +draw +rollD6 6 +draw +rollD8 4 +draw +rollD8 5 +draw +rollD8 6 +draw +rollD8 7 +draw +rollD8 8 +draw +draw +draw +draw +draw +draw +draw +draw +draw +draw +build hangglider +rollD6 1 +build? diff --git a/game_over_after_hangglider_output.txt b/game_over_after_hangglider_output.txt new file mode 100644 index 0000000..3678892 --- /dev/null +++ b/game_over_after_hangglider_output.txt @@ -0,0 +1,84 @@ +OK +wood +wood +wood +wood +wood +wood +wood +wood +wood +wood +wood +wood +wood +plastic +plastic +plastic +plastic +plastic +plastic +plastic +plastic +plastic +plastic +plastic +plastic +metal +metal +metal +metal +metal +metal +metal +metal +metal +metal +metal +metal +metal +metal +spider +lose +spider +lose +spider +lose +spider +survived +spider +survived +snake +lose +snake +lose +snake +survived +snake +survived +snake +survived +tiger +lose +tiger +survived +tiger +survived +tiger +survived +tiger +survived +thunderstorm +wood +wood +wood +plastic +plastic +plastic +plastic +metal +metal +OK +lose +lost +