Add solution for "Day 25: Code Chronicle"
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <aoc/MonkeyMarket.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
#include <aoc/CrossedWires.hpp>
|
||||
#include <aoc/CodeChronicle.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
|
||||
@@ -431,3 +432,16 @@ TEST_CASE("[CrossedWiresTests]")
|
||||
test.runExamplePart1(std::make_unique<CrossedWires>(2), 2024);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[CodeChronicleTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.runFull(std::make_unique<CodeChronicle>(), 2854, 0);
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.runExamplePart1(std::make_unique<CodeChronicle>(), 3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user