75 Commits

Author SHA1 Message Date
f3682a46a9 Add TestContext::runPart2 for tests that are only valid for part 2 of a puzzle 2025-02-17 15:23:05 +01:00
ce77b2354c Change Point2 to use STL arrays for predefined directions 2025-02-17 15:07:20 +01:00
0718a1285e Add tests for additional day 12 examples 2025-02-14 18:58:09 +01:00
ee60c23cfb Fix implicit cast issues in PrintQueue 2025-02-14 18:38:34 +01:00
26f40147d2 Remove Solver::getPuzzleTitle() again and do it directly in SolverEngine::run() 2025-02-14 18:24:45 +01:00
979961d60e Change Solver puzzle title use and add optional input file name suffix 2025-02-14 17:13:05 +01:00
28baf4db3e Add solution for "Day 12: Garden Groups", part 1 2025-02-14 15:47:38 +01:00
8bea3c2c48 Remove unused includes 2025-02-14 12:03:03 +01:00
ba3d151e96 Fix readme typos 2025-02-14 11:24:58 +01:00
d8ae103928 Add solution for "Day 9: Disk Fragmenter", part 2 2025-02-14 11:24:31 +01:00
648f6d4ebc Rename LinesSolver::getPosition()/setPosition() to getCharAt()/setCharAt() 2025-02-04 17:50:38 +01:00
54204766ec Add solution for "Day 9: Disk Fragmenter", part 1 2025-02-04 17:44:06 +01:00
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
44f2a0e0ec Add solution for "Day 8: Resonant Collinearity", part 1 2025-01-29 22:04:12 +01:00
c4b2684d66 Add solutions for "Day 7: Bridge Repair" 2025-01-29 09:38:01 +01:00
9bc4c3e6be Fix file encodings 2025-01-24 08:57:45 +01:00
d2e64d2518 Fixed readme links 2025-01-22 20:42:47 +01:00
21279a97a6 Add solution for "Day 11: Plutonian Pebbles", part 2 2025-01-22 20:38:08 +01:00
eaee3bd347 Add solution for "Day 11: Plutonian Pebbles", part 1 2025-01-21 14:07:38 +01:00
7bca5d29d0 Fix operator code formatting 2025-01-21 14:04:21 +01:00
0f60b23b33 Change constants methods to static constexpr 2025-01-21 14:03:40 +01:00
0b72b7efdc Remove raw array use from PrintQueue 2025-01-21 14:02:10 +01:00
ae99d41cf4 Add Grid::fill() 2025-01-21 14:00:38 +01:00
ab7aa394dc Fix constructor code formatting 2025-01-21 13:56:42 +01:00
22c858dd59 Change clang format line width to 120 2025-01-21 13:54:06 +01:00
2d63375daa Fix broken Point2 inequality operator 2025-01-02 17:23:15 +01:00
5909474603 Update readme 2025-01-01 21:39:31 +01:00
13a49b6735 Update clang format for templates 2024-12-30 22:32:50 +01:00
60a952fd5e Update HoofIt to use Grid 2024-12-30 22:30:32 +01:00
7aeaab2c49 Add Grid class as wrapper for two-dimensional array 2024-12-30 22:29:14 +01:00
06afa3ae2e Fix method order (constants methods first) 2024-12-25 21:44:39 +01:00
69a4b4becc Add missing virtual modifiers 2024-12-25 21:43:58 +01:00
2e2a95faef Add const to GuardGallivant.getStartDirectionIndex() 2024-12-25 21:43:20 +01:00
1fd73c1a18 Rename LanParty method to "compute..." 2024-12-25 21:34:13 +01:00
c777bad38a Add const for Vertex id and getter 2024-12-25 21:27:27 +01:00
d314b2fc70 Add const modifier for constants methods 2024-12-25 21:24:20 +01:00
c783d20755 Add solution for "Day 23: LAN Party", part 1 2024-12-25 21:06:41 +01:00
e0a9a807da Fix some private field identifiers 2024-12-24 15:30:14 +01:00
262a84fa68 Add missing test cases 2024-12-23 19:41:44 +01:00
f644f6bd42 Enable clang format again and disable AllowShortFuctionOnASinlgeLine 2024-12-23 18:28:12 +01:00
896d41c561 Update TestContext to simply provide a generic test run and the input path methods 2024-12-23 18:26:03 +01:00
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
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
ff454776fa Add solution for "Day 10: Hoof It", part 2 2024-12-22 22:59:38 +01:00
eb8f7f7221 Add solution for "Day 10: Hoof It", part 1 2024-12-22 22:43:37 +01:00
4ed3b84cb6 Fix inheritance formatting 2024-12-11 01:38:26 +01:00
fa38fa695b Rename .h file extension to .hpp, and fix some include orderings 2024-12-11 01:37:34 +01:00
f2126f6c7c Disable clang format because of constructor bin pack issues 2024-12-11 00:43:14 +01:00
a4f21371c3 Fix bad unique pointer usage 2024-12-11 00:42:28 +01:00
2d3b516bbe Update clang format config 2024-12-10 21:58:58 +01:00