Add solution for "Day 8: Resonant Collinearity", part 1
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <aoc/PrintQueue.hpp>
|
||||
#include <aoc/GuardGallivant.hpp>
|
||||
#include <aoc/BridgeRepair.hpp>
|
||||
#include <aoc/ResonantCollinearity.hpp>
|
||||
#include <aoc/HoofIt.hpp>
|
||||
#include <aoc/PlutonianPebbles.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
@@ -120,6 +121,19 @@ TEST_CASE("[BridgeRepairTests]")
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[ResonantCollinearityTests]")
|
||||
{
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 426, 0, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 14, 0, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[HoofItTests]")
|
||||
{
|
||||
TestContext test;
|
||||
|
||||
Reference in New Issue
Block a user