Add solution for "Day 13: Claw Contraption", part 1
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <aoc/HoofIt.hpp>
|
||||
#include <aoc/PlutonianPebbles.hpp>
|
||||
#include <aoc/GardenGroups.hpp>
|
||||
#include <aoc/ClawContraption.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
|
||||
#define REQUIRE_MESSAGE(cond, msg) if (!(cond)) { INFO(msg); REQUIRE(cond); }
|
||||
@@ -206,6 +207,19 @@ TEST_CASE("[GardenGroupsTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[ClawContraptionTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<ClawContraption>(), 36571, 0, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<ClawContraption>(), 480, 0, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[LanPartyTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user