Add solutions for "Day 7: Bridge Repair"

This commit is contained in:
2025-01-29 09:38:01 +01:00
parent 9bc4c3e6be
commit c4b2684d66
7 changed files with 198 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
#include <aoc/CeresSearch.hpp>
#include <aoc/PrintQueue.hpp>
#include <aoc/GuardGallivant.hpp>
#include <aoc/BridgeRepair.hpp>
#include <aoc/HoofIt.hpp>
#include <aoc/PlutonianPebbles.hpp>
#include <aoc/LanParty.hpp>
@@ -106,6 +107,19 @@ TEST_CASE("[GuardGallivantTests]")
}
}
TEST_CASE("[BridgeRepairTests]")
{
TestContext test;
SECTION("FullData")
{
test.run(std::make_unique<BridgeRepair>(), 12839601725877, 149956401519484, test.getInputPaths());
}
SECTION("ExampleData")
{
test.run(std::make_unique<BridgeRepair>(), 3749, 11387, test.getExampleInputPaths());
}
}
TEST_CASE("[HoofItTests]")
{
TestContext test;