From 40370b8c80283e65cb13e5a10f3de80ae21c48be Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Fri, 13 Mar 2020 09:29:56 +0100 Subject: [PATCH] Correct test behaviour --- game2_output.txt | 24 ++++++++++++++++++++---- game_over_after_animal_input.txt | 2 +- game_over_no_actions_input.txt | 1 + game_over_no_actions_output.txt | 1 + game_over_no_materials_input.txt | 2 +- 5 files changed, 24 insertions(+), 6 deletions(-) diff --git a/game2_output.txt b/game2_output.txt index d3698ba..0738e59 100644 --- a/game2_output.txt +++ b/game2_output.txt @@ -75,8 +75,23 @@ fireplace club axe win -Error, can not get buildings: game not started -Error, can not get resources: game not started +ballon +hangglider +sailingraft +shack +fireplace +club +axe +metal +metal +metal +metal +metal +metal +metal +plastic +plastic +wood Error, can not get buildable items: game not started OK metal @@ -94,8 +109,9 @@ plastic plastic OK win -Error, can not get buildings: game not started -Error, can not get resources: game not started +sailingraft +axe +EMPTY OK metal metal diff --git a/game_over_after_animal_input.txt b/game_over_after_animal_input.txt index 4906fb2..6a1df8e 100644 --- a/game_over_after_animal_input.txt +++ b/game_over_after_animal_input.txt @@ -78,4 +78,4 @@ draw rollD8 7 draw rollD8 1 -list-resources +build? diff --git a/game_over_no_actions_input.txt b/game_over_no_actions_input.txt index dcb9cd9..e631438 100644 --- a/game_over_no_actions_input.txt +++ b/game_over_no_actions_input.txt @@ -79,3 +79,4 @@ draw rollD8 8 draw list-resources +build? diff --git a/game_over_no_actions_output.txt b/game_over_no_actions_output.txt index 0d484a4..1a1d58c 100644 --- a/game_over_no_actions_output.txt +++ b/game_over_no_actions_output.txt @@ -79,4 +79,5 @@ tiger survived thunderstorm lost +EMPTY Error, can not get resources: game not started diff --git a/game_over_no_materials_input.txt b/game_over_no_materials_input.txt index 0283efc..770845a 100644 --- a/game_over_no_materials_input.txt +++ b/game_over_no_materials_input.txt @@ -79,4 +79,4 @@ draw draw draw build club -list-resources +build?