Add solution for "Day 8: Resonant Collinearity", part 2
The Point2::operator<() was introduced for set<Point2>, which is not actually required.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <aoc/GuardGallivant.hpp>
|
||||
#include <aoc/BridgeRepair.hpp>
|
||||
#include <aoc/ResonantCollinearity.hpp>
|
||||
#include <aoc/DiskFragmenter.hpp>
|
||||
#include <aoc/HoofIt.hpp>
|
||||
#include <aoc/PlutonianPebbles.hpp>
|
||||
#include <aoc/LanParty.hpp>
|
||||
@@ -126,11 +127,11 @@ TEST_CASE("[ResonantCollinearityTests]")
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 426, 0, test.getInputPaths());
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 426, 1359, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 14, 0, test.getExampleInputPaths());
|
||||
test.run(std::make_unique<ResonantCollinearity>(), 14, 34, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user