Add solution for "Day 14: Restroom Redoubt", part 1
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <aoc/PlutonianPebbles.hpp>
|
||||
#include <aoc/GardenGroups.hpp>
|
||||
#include <aoc/ClawContraption.hpp>
|
||||
#include <aoc/RestroomRedoubt.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -220,6 +221,19 @@ TEST_CASE("[ClawContraptionTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[RestroomRedoubtTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<RestroomRedoubt>(), 224969976, 0, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<RestroomRedoubt>(11, 7), 12, 0, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user