Add solution for "Day 12: Garden Groups", part 2
This commit is contained in:
@@ -182,19 +182,27 @@ TEST_CASE("[GardenGroupsTests]")
|
||||
TestContext test;
|
||||
SECTION("FullData")
|
||||
{
|
||||
test.run(std::make_unique<GardenGroups>(), 1477762, 0, test.getInputPaths());
|
||||
test.run(std::make_unique<GardenGroups>(), 1477762, 923480, test.getInputPaths());
|
||||
}
|
||||
SECTION("ExampleData")
|
||||
{
|
||||
test.run(std::make_unique<GardenGroups>(), 1930, 0, test.getExampleInputPaths());
|
||||
test.run(std::make_unique<GardenGroups>(), 1930, 1206, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData2")
|
||||
{
|
||||
test.run(std::make_unique<GardenGroups>(2), 140, 0, test.getExampleInputPaths());
|
||||
test.run(std::make_unique<GardenGroups>(2), 140, 80, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData3")
|
||||
{
|
||||
test.run(std::make_unique<GardenGroups>(3), 772, 0, test.getExampleInputPaths());
|
||||
test.run(std::make_unique<GardenGroups>(3), 772, 436, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData4")
|
||||
{
|
||||
test.runPart2(std::make_unique<GardenGroups>(4), 236, test.getExampleInputPaths());
|
||||
}
|
||||
SECTION("ExampleData5")
|
||||
{
|
||||
test.runPart2(std::make_unique<GardenGroups>(5), 368, test.getExampleInputPaths());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user