From 262a84fa683c90eaa0b90715af7e74f8a8e28cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20M=C3=BCller?= Date: Mon, 23 Dec 2024 19:41:44 +0100 Subject: [PATCH] Add missing test cases --- tests/src/TestCases.cpp | 84 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/tests/src/TestCases.cpp b/tests/src/TestCases.cpp index 19703ae..e9990a1 100644 --- a/tests/src/TestCases.cpp +++ b/tests/src/TestCases.cpp @@ -16,6 +16,12 @@ #include #include +#include +#include +#include +#include +#include +#include #include #define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); } @@ -32,3 +38,81 @@ TEST_CASE("[HistorianHysteriaTests]") test.run(std::make_unique(), 11, 31, test.getExampleInputPaths()); } } + +TEST_CASE("[RedNosedReportsTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 472, 520, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 2, 4, test.getExampleInputPaths()); + } +} + +TEST_CASE("[MullItOverTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 187833789, 94455185, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 161, 48, test.getExampleInputPaths()); + } +} + +TEST_CASE("[CeresSearchTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 2462, 1877, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 18, 9, test.getExampleInputPaths()); + } +} + +TEST_CASE("[PrintQueueTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 5087, 4971, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 143, 123, test.getExampleInputPaths()); + } +} + +TEST_CASE("[GuardGallivantTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 4665, 0, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 41, 0, test.getExampleInputPaths()); + } +} + +TEST_CASE("[HoofItTests]") +{ + TestContext test; + SECTION("FullData") + { + test.run(std::make_unique(), 611, 1380, test.getInputPaths()); + } + SECTION("ExampleData") + { + test.run(std::make_unique(), 36, 81, test.getExampleInputPaths()); + } +}