diff options
| author | thecharlesblake | 2018-01-04 11:39:32 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-04 11:39:32 +0000 |
| commit | 21a73053795c19a78de30304115a89d7b8c20e4b (patch) | |
| tree | 0ba6e862ff175d7f6344e1eca8dd4afcc2002ce0 /src/test/fortunes_favor_test.cpp | |
| parent | Add json rules for fortunes favor (diff) | |
| download | metasol-21a73053795c19a78de30304115a89d7b8c20e4b.tar.gz metasol-21a73053795c19a78de30304115a89d7b8c20e4b.zip | |
Add unit tests for fortunes favor
Diffstat (limited to 'src/test/fortunes_favor_test.cpp')
| -rw-r--r-- | src/test/fortunes_favor_test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/fortunes_favor_test.cpp b/src/test/fortunes_favor_test.cpp index 8973a53..eab2e7e 100644 --- a/src/test/fortunes_favor_test.cpp +++ b/src/test/fortunes_favor_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/fortunes_favor/"; +const static std::string type = "simple-fortunes-favor"; -TEST(SpanishPatience, SimpleSolvable) { +TEST(FortunesFavor, SimpleSolvable) { EXPECT_TRUE(th::is_solvable(path + "SimpleSolvable.json", type)); } -TEST(SpanishPatience, ComplexSolvable) { +TEST(FortunesFavor, ComplexSolvable) { EXPECT_TRUE(th::is_solvable(path + "ComplexSolvable.json", type)); } -TEST(SpanishPatience, SimpleUnsolvable) { +TEST(FortunesFavor, SimpleUnsolvable) { EXPECT_FALSE(th::is_solvable(path + "SimpleUnsolvable.json", type)); } -TEST(SpanishPatience, ComplexUnsolvable) { +TEST(FortunesFavor, ComplexUnsolvable) { EXPECT_FALSE(th::is_solvable(path + "ComplexUnsolvable.json", type)); } |
