Add solution for "Day 18: RAM Run", part 1
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <aoc/WarehouseWoes.hpp>
|
||||
#include <aoc/ReindeerMaze.hpp>
|
||||
#include <aoc/ChronospatialComputer.hpp>
|
||||
#include <aoc/RamRun.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -326,6 +327,19 @@ TEST_CASE("[ChronospatialComputerTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[RamRunTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<RamRun>(), 248, "", test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<RamRun>(7, 12), 22, "", test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user