aboutsummaryrefslogtreecommitdiff
path: root/solvitaire/src/test/integration_tests/klondike_test.cpp
diff options
context:
space:
mode:
authorTom Harley2019-01-29 19:12:22 +0000
committerTom Harley2019-01-29 19:12:22 +0000
commit7b4f42242d277adeaec7a40eaac7d178141d4621 (patch)
treeeacece268545df914d730ad80d6a1b69f1448296 /solvitaire/src/test/integration_tests/klondike_test.cpp
parentAdd support for reading gamestates from json files (diff)
downloadmetasol-7b4f42242d277adeaec7a40eaac7d178141d4621.tar.gz
metasol-7b4f42242d277adeaec7a40eaac7d178141d4621.zip

Reorganise submodules (and submodulise solvitaire)

The submodules should now point to repos I’ve made in order to produce static libraries from them. Also, solvitaire now points to a similar personal repo.

Diffstat (limited to 'solvitaire/src/test/integration_tests/klondike_test.cpp')
m---------solvitaire0
-rw-r--r--solvitaire/src/test/integration_tests/klondike_test.cpp28
2 files changed, 0 insertions, 28 deletions
diff --git a/solvitaire b/solvitaire
new file mode 160000
+Subproject b835e10bfb21a73b4f89e09ddeb400f41538483
diff --git a/solvitaire/src/test/integration_tests/klondike_test.cpp b/solvitaire/src/test/integration_tests/klondike_test.cpp
deleted file mode 100644
index d449495..0000000
--- a/solvitaire/src/test/integration_tests/klondike_test.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Created by thecharlesblake on 10/4/17.
-//
-
-#include <gtest/gtest.h>
-
-#include "../test_helper.h"
-
-typedef test_helper th;
-
-const static std::string path = "resources/klondike/";
-const static std::string type = "simple-klondike";
-
-TEST(Klondike, SimpleSolvable) {
- EXPECT_TRUE(th::is_solvable(path + "SimpleSolvable.json", type));
-}
-
-TEST(Klondike, ComplexSolvable) {
- EXPECT_TRUE(th::is_solvable(path + "ComplexSolvable.json", type));
-}
-
-TEST(Klondike, SimpleUnsolvable) {
- EXPECT_FALSE(th::is_solvable(path + "SimpleUnsolvable.json", type));
-}
-
-TEST(Klondike, ComplexUnsolvable) {
- EXPECT_FALSE(th::is_solvable(path + "ComplexUnsolvable.json", type));
-}