aboutsummaryrefslogtreecommitdiff
path: root/solvitaire/src/test/integration_tests/spider_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/spider_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/spider_test.cpp')
m---------solvitaire0
-rw-r--r--solvitaire/src/test/integration_tests/spider_test.cpp30
2 files changed, 0 insertions, 30 deletions
diff --git a/solvitaire b/solvitaire
new file mode 160000
+Subproject b835e10bfb21a73b4f89e09ddeb400f41538483
diff --git a/solvitaire/src/test/integration_tests/spider_test.cpp b/solvitaire/src/test/integration_tests/spider_test.cpp
deleted file mode 100644
index 50f16fe..0000000
--- a/solvitaire/src/test/integration_tests/spider_test.cpp
+++ /dev/null
@@ -1,30 +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/spider/";
-const static std::string type = "simple-spider";
-
-TEST(Spider, SimpleSolvable) {
- EXPECT_TRUE(th::is_solvable(path + "SimpleSolvable.json", type));
-}
-
-TEST(Spider, ComplexSolvable) {
- EXPECT_TRUE(th::is_solvable(path + "ComplexSolvable.json", type));
-}
-
-TEST(Spider, SimpleUnsolvable) {
- EXPECT_FALSE(th::is_solvable(path + "SimpleUnsolvable.json", type));
-}
-
-/* Taking too long so removed, at least for now
-TEST(Spider, ComplexUnsolvable) {
- EXPECT_FALSE(th::is_solvable(path + "ComplexUnsolvable.json", type));
-}
-*/