aboutsummaryrefslogtreecommitdiff
path: root/src/test/bakers_dozen_test.cpp
diff options
context:
space:
mode:
authorthecharlesblake2018-01-02 11:28:12 +0000
committerthecharlesblake2018-01-02 11:28:12 +0000
commit19d51fbeb4298c3319e5c78f3f2c7f16adbe6388 (patch)
tree0f560488dd8d6852d4d1ddcfaa89ea46888431c5 /src/test/bakers_dozen_test.cpp
parentAdd json rules for bakers dozen (diff)
downloadmetasol-19d51fbeb4298c3319e5c78f3f2c7f16adbe6388.tar.gz
metasol-19d51fbeb4298c3319e5c78f3f2c7f16adbe6388.zip

Add unit tests for bakers dozen

Diffstat (limited to 'src/test/bakers_dozen_test.cpp')
-rw-r--r--src/test/bakers_dozen_test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/bakers_dozen_test.cpp b/src/test/bakers_dozen_test.cpp
index 8973a53..0af0669 100644
--- a/src/test/bakers_dozen_test.cpp
+++ b/src/test/bakers_dozen_test.cpp
@@ -8,21 +8,21 @@
typedef test_helper th;
-const static std::string path = "resources/spanish_patience/";
-const static std::string type = "simple-spanish-patience";
+const static std::string path = "resources/bakers_dozen/";
+const static std::string type = "simple-bakers-dozen";
-TEST(SpanishPatience, SimpleSolvable) {
+TEST(BakersDozen, SimpleSolvable) {
EXPECT_TRUE(th::is_solvable(path + "SimpleSolvable.json", type));
}
-TEST(SpanishPatience, ComplexSolvable) {
+TEST(BakersDozen, ComplexSolvable) {
EXPECT_TRUE(th::is_solvable(path + "ComplexSolvable.json", type));
}
-TEST(SpanishPatience, SimpleUnsolvable) {
+TEST(BakersDozen, SimpleUnsolvable) {
EXPECT_FALSE(th::is_solvable(path + "SimpleUnsolvable.json", type));
}
-TEST(SpanishPatience, ComplexUnsolvable) {
+TEST(BakersDozen, ComplexUnsolvable) {
EXPECT_FALSE(th::is_solvable(path + "ComplexUnsolvable.json", type));
}