Add solution for "Day 9: Disk Fragmenter", part 1

This commit is contained in:
2025-02-04 17:44:06 +01:00
parent e1cd0867cb
commit 54204766ec
4 changed files with 149 additions and 0 deletions

View File

@@ -135,6 +135,19 @@ TEST_CASE("[ResonantCollinearityTests]")
}
}
TEST_CASE("[DiskFragmenterTests]")
{
TestContext test;
SECTION("FullData")
{
test.run(std::make_unique<DiskFragmenter>(), 6401092019345, 0, test.getInputPaths());
}
SECTION("ExampleData")
{
test.run(std::make_unique<DiskFragmenter>(), 1928, 0, test.getExampleInputPaths());
}
}
TEST_CASE("[HoofItTests]")
{
TestContext test;