Add solution for "Day 16: Reindeer Maze", part 1
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include <aoc/ClawContraption.hpp>
|
||||
#include <aoc/RestroomRedoubt.hpp>
|
||||
#include <aoc/WarehouseWoes.hpp>
|
||||
#include <aoc/ReindeerMaze.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -252,6 +253,23 @@ TEST_CASE("[WarehouseWoesTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[ReindeerMazeTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<ReindeerMaze>(), 72400, 0, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<ReindeerMaze>(), 7036, 0, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData2")
|
||||
{
|
||||
test.run(std::make_unique<ReindeerMaze>(2), 11048, 0, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user