Commit Graph

20 Commits

Author SHA1 Message Date
Stefan Müller f3682a46a9 Add TestContext::runPart2 for tests that are only valid for part 2 of a puzzle 2025-02-17 15:23:05 +01:00
Stefan Müller 0718a1285e Add tests for additional day 12 examples 2025-02-14 18:58:09 +01:00
Stefan Müller 28baf4db3e Add solution for "Day 12: Garden Groups", part 1 2025-02-14 15:47:38 +01:00
Stefan Müller d8ae103928 Add solution for "Day 9: Disk Fragmenter", part 2 2025-02-14 11:24:31 +01:00
Stefan Müller 54204766ec Add solution for "Day 9: Disk Fragmenter", part 1 2025-02-04 17:44:06 +01:00
Stefan Müller e1cd0867cb Add solution for "Day 8: Resonant Collinearity", part 2
The Point2::operator<() was introduced for set<Point2>, which is not actually required.
2025-02-04 17:43:20 +01:00
Stefan Müller 44f2a0e0ec Add solution for "Day 8: Resonant Collinearity", part 1 2025-01-29 22:04:12 +01:00
Stefan Müller c4b2684d66 Add solutions for "Day 7: Bridge Repair" 2025-01-29 09:38:01 +01:00
Stefan Müller 9bc4c3e6be Fix file encodings 2025-01-24 08:57:45 +01:00
Stefan Müller 21279a97a6 Add solution for "Day 11: Plutonian Pebbles", part 2 2025-01-22 20:38:08 +01:00
Stefan Müller eaee3bd347 Add solution for "Day 11: Plutonian Pebbles", part 1 2025-01-21 14:07:38 +01:00
Stefan Müller 22c858dd59 Change clang format line width to 120 2025-01-21 13:54:06 +01:00
Stefan Müller c783d20755 Add solution for "Day 23: LAN Party", part 1 2024-12-25 21:06:41 +01:00
Stefan Müller 262a84fa68 Add missing test cases 2024-12-23 19:41:44 +01:00
Stefan Müller 896d41c561 Update TestContext to simply provide a generic test run and the input path methods 2024-12-23 18:26:03 +01:00
Stefan Müller c85cffb992 Update test cases to test both parts together
The test cases for parts 1 and 2 differ only in the tested condition, not in the
tests themselves. This removes the need for derived test context classes.
2024-12-23 18:04:59 +01:00
Stefan Müller 73446b2d83 Add TestCaseBase.run() to replace the template
The template was not necessary and this now allows for use of custom constructors in the test cases.
2024-12-23 17:53:48 +01:00
Stefan Müller fa38fa695b Rename .h file extension to .hpp, and fix some include orderings 2024-12-11 01:37:34 +01:00
Stefan Müller a4f21371c3 Fix bad unique pointer usage 2024-12-11 00:42:28 +01:00
Stefan Müller 38bca1e549 Add proper CMake setup and update project structure 2024-12-06 20:16:01 +01:00