Add solution for "Day 15: Warehouse Woes", part 1
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <aoc/GardenGroups.hpp>
|
||||
#include <aoc/ClawContraption.hpp>
|
||||
#include <aoc/RestroomRedoubt.hpp>
|
||||
#include <aoc/WarehouseWoes.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -234,6 +235,23 @@ TEST_CASE("[RestroomRedoubtTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[WarehouseWoesTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<WarehouseWoes>(), 1515788, 0, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<WarehouseWoes>(), 10092, 0, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData2")
|
||||
{
|
||||
test.run(std::make_unique<WarehouseWoes>(2), 2028, 0, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user