diff options
Diffstat (limited to 'solvitaire/src/test/integration_tests/klondike_test.cpp')
| m--------- | solvitaire | 0 | ||||
| -rw-r--r-- | solvitaire/src/test/integration_tests/klondike_test.cpp | 28 |
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)); -} |
