AdventOfCode2023/tests
Stefan Müller 8d4a5c2ed8 Changed root finder to use base-2 exponent of bound
Since the root isolation algorithm uses a power of two as bound anyway,
it makes sense to use it's exponent in method interfaces and throughout
the algorithm. This simplifies multiplications to cheap shifts and will
make it easier to detect when the isolating interval size is 1.

Also added some method documentation.
2024-05-26 17:31:37 +02:00
..
AdventOfCodeFPCUnit.ico Added solution for "Day 3: Gear Ratios", part 1, and added test project 2023-12-03 23:52:54 +01:00
AdventOfCodeFPCUnit.lpi Removed main project unit refs from FPCUnit project 2024-05-20 01:05:16 +02:00
AdventOfCodeFPCUnit.lpr Merge branch 'bigint' into day24-analytical 2024-05-16 17:14:00 +02:00
UAplentyTestCases.pas Added solution for "Day 19: Aplenty", part 2 2023-12-20 19:25:21 +01:00
UBaseTestCases.pas Refactored tests in to facilitate loading example data from file 2023-12-05 12:19:41 +01:00
UBigIntTestCases.pas Added some improvements for TBigInt shift left operator 2024-05-23 22:01:25 +02:00
UCamelCardsTestCases.pas Added solution for "Day 7: Camel Cards", part 2 2023-12-07 17:58:54 +01:00
UClumsyCrucibleTestCases.pas Removed or unregistered tests for incomplete solutions 2023-12-21 21:14:50 +01:00
UCosmicExpansionTestCases.pas Added custom constructors for TCosmicExpansion and TStepCounter to simplify test case setup 2023-12-23 20:16:18 +01:00
UCubeConundrumTestCases.pas Added test cases for "Trebuchet" and "Cube Conundrum" 2023-12-05 17:21:21 +01:00
UFloorWillBeLavaTestCases.pas Added solution for "Day 16: The Floor Will Be Lava", part 2 2023-12-19 17:26:18 +01:00
UGearRatiosTestCases.pas Refactored tests in to facilitate loading example data from file 2023-12-05 12:19:41 +01:00
UGiveSeedFertilizerTestCases.pas Added solution for "Day 5: If You Give A Seed A Fertilizer", part 2 2023-12-06 01:12:26 +01:00
UHauntedWastelandTestCases.pas Added solution for "Day 8: Haunted Wasteland", part 2 2023-12-09 14:46:35 +01:00
UHotSpringsTestCases.pas Added solution for "Day 12: Hot Springs", part 1 2023-12-12 15:47:58 +01:00
ULavaductLagoonTestCases.pas Removed or unregistered tests for incomplete solutions 2023-12-21 21:14:50 +01:00
ULensLibraryTestCases.pas Added solution for "Day 15: Lens Library", part 2 2023-12-17 23:11:44 +01:00
ULongWalkTestCases.pas Added solution for "Day 23: A Long Walk", part 1 2023-12-25 00:44:13 +01:00
UMirageMaintenanceTestCases.pas Added solution for "Day 9: Mirage Maintenance", part 2 2023-12-09 23:11:37 +01:00
UNeverTellMeTheOddsTestCases.pas Added WIP analytical solution attempt 2024-02-21 21:05:34 +01:00
UParabolicReflectorDishTestCases.pas Added solution for "Day 14: Parabolic Reflector Dish", part 2 2023-12-14 21:23:07 +01:00
UPipeMazeTestCases.pas Added solution for "Day 10: Pipe Maze", part 2 2023-12-11 15:03:01 +01:00
UPointOfIncidenceTestCases.pas Added solution for "Day 13: Point of Incidence", part 2 2023-12-14 00:32:27 +01:00
UPolynomialRootsTestCases.pas Changed root finder to use base-2 exponent of bound 2024-05-26 17:31:37 +02:00
UPolynomialTestCases.pas Added TBigIntPolynomial.ScaleVariableByPowerOfTwo 2024-05-26 16:59:16 +02:00
UPulsePropagationTestCases.pas Removed or unregistered tests for incomplete solutions 2023-12-21 21:14:50 +01:00
USandSlabsTestCases.pas Added solution for "Day 22: Sand Slabs", part 2 2023-12-23 20:08:10 +01:00
UScratchcardsTestCases.pas Refactored tests in to facilitate loading example data from file 2023-12-05 12:19:41 +01:00
UStepCounterTestCases.pas Added custom constructors for TCosmicExpansion and TStepCounter to simplify test case setup 2023-12-23 20:16:18 +01:00
UTrebuchetTestCases.pas Refactored the Trebuchet test cases 2023-12-09 01:00:36 +01:00
UWaitForItTestCases.pas Added solution for "Day 6: Wait For It", part 2 2023-12-06 12:45:23 +01:00