aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/main_test.cpp19
-rw-r--r--src/test/spanish_patience_test.cpp11
-rw-r--r--src/test/test_helper.cpp9
-rw-r--r--src/test/test_helper.h16
4 files changed, 36 insertions, 19 deletions
diff --git a/src/test/main_test.cpp b/src/test/main_test.cpp
deleted file mode 100644
index 3f2081f..0000000
--- a/src/test/main_test.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-//
-// Created by thecharlesblake on 10/4/17.
-//
-
-#include <gtest/gtest.h>
-
-const int actualValTrue = 4;
-const int actualValFalse = 8;
-const int expectVal = 4;
-
-namespace {
- TEST(StrCompare, CStrEqual) {
- EXPECT_EQ(expectVal, actualValTrue);
- }
-
- TEST(StrCompare, CStrNotEqual) {
- EXPECT_NE(expectVal, actualValFalse);
- }
-}
diff --git a/src/test/spanish_patience_test.cpp b/src/test/spanish_patience_test.cpp
new file mode 100644
index 0000000..f75fc8b
--- /dev/null
+++ b/src/test/spanish_patience_test.cpp
@@ -0,0 +1,11 @@
+//
+// Created by thecharlesblake on 10/4/17.
+//
+
+#include <gtest/gtest.h>
+
+#include "test_helper.h"
+
+TEST(SpanishPatience, SPTestName) {
+ EXPECT_TRUE(test_helper::is_solvable("i", "simple-spanish-patience"));
+}
diff --git a/src/test/test_helper.cpp b/src/test/test_helper.cpp
new file mode 100644
index 0000000..5e08bc3
--- /dev/null
+++ b/src/test/test_helper.cpp
@@ -0,0 +1,9 @@
+//
+// Created by thecharlesblake on 12/26/17.
+//
+
+#include "test_helper.h"
+
+bool test_helper::is_solvable(std::string, std::string) {
+ return false;
+}
diff --git a/src/test/test_helper.h b/src/test/test_helper.h
new file mode 100644
index 0000000..38bdfc0
--- /dev/null
+++ b/src/test/test_helper.h
@@ -0,0 +1,16 @@
+//
+// Created by thecharlesblake on 12/26/17.
+//
+
+#ifndef SOLVITAIRE_TEST_HELPER_H
+#define SOLVITAIRE_TEST_HELPER_H
+
+#include <string>
+
+class test_helper {
+public:
+ static bool is_solvable(std::string, std::string);
+};
+
+
+#endif //SOLVITAIRE_TEST_HELPER_H