aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helper.h
diff options
context:
space:
mode:
authorCharlie Blake2018-07-19 15:45:14 +0100
committerCharlie Blake2018-07-19 15:45:14 +0100
commit12e8d1f342303394f8e6be72c08a92e3a4097bfb (patch)
tree3b13f624a164549697efdfefb0b25a2c1e45ca71 /src/test/test_helper.h
parentAdd canfield unit tests (diff)
downloadmetasol-12e8d1f342303394f8e6be72c08a92e3a4097bfb.tar.gz
metasol-12e8d1f342303394f8e6be72c08a92e3a4097bfb.zip

Add Canfield unit tests

Diffstat (limited to 'src/test/test_helper.h')
-rw-r--r--src/test/test_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_helper.h b/src/test/test_helper.h
index 564310e..89d28cb 100644
--- a/src/test/test_helper.h
+++ b/src/test/test_helper.h
@@ -11,6 +11,7 @@
#include "../main/game/card.h"
#include "../main/game/pile.h"
#include "../main/game/move.h"
+#include "../main/game/search-state/game_state.h"
class test_helper {
public:
@@ -30,6 +31,7 @@ public:
, card
);
static bool moves_eq(std::vector<move>&, std::vector<move>&);
+ static uint8_t cards_in_founds(game_state&);
};
std::ostream& operator <<(std::ostream&, const move&);