From 1a262ef15c0f00ec756aa40952a3281204636ad9 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Thu, 4 Jan 2018 15:45:23 +0000 Subject: Add unit tests for flower garden --- src/test/flower_garden_test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/flower_garden_test.cpp') diff --git a/src/test/flower_garden_test.cpp b/src/test/flower_garden_test.cpp index eab2e7e..b1aee9e 100644 --- a/src/test/flower_garden_test.cpp +++ b/src/test/flower_garden_test.cpp @@ -8,21 +8,21 @@ typedef test_helper th; -const static std::string path = "resources/fortunes_favor/"; -const static std::string type = "simple-fortunes-favor"; +const static std::string path = "resources/flower_garden/"; +const static std::string type = "simple-flower-garden"; -TEST(FortunesFavor, SimpleSolvable) { +TEST(FlowerGarden, SimpleSolvable) { EXPECT_TRUE(th::is_solvable(path + "SimpleSolvable.json", type)); } -TEST(FortunesFavor, ComplexSolvable) { +TEST(FlowerGarden, ComplexSolvable) { EXPECT_TRUE(th::is_solvable(path + "ComplexSolvable.json", type)); } -TEST(FortunesFavor, SimpleUnsolvable) { +TEST(FlowerGarden, SimpleUnsolvable) { EXPECT_FALSE(th::is_solvable(path + "SimpleUnsolvable.json", type)); } -TEST(FortunesFavor, ComplexUnsolvable) { +TEST(FlowerGarden, ComplexUnsolvable) { EXPECT_FALSE(th::is_solvable(path + "ComplexUnsolvable.json", type)); } -- cgit v1.2.1