Added solution for "Day 5: If You Give A Seed A Fertilizer", part 2

This commit is contained in:
2023-12-06 01:12:26 +01:00
committed by Stefan Müller
parent 474cfa6cc3
commit 26561ba421
2 changed files with 103 additions and 44 deletions

View File

@@ -62,7 +62,7 @@ end;
procedure TGiveSeedFertilizerFullDataTestCase.TestPart2;
begin
AssertEquals(-1, FSolver.GetResultPart2);
AssertEquals(99751240, FSolver.GetResultPart2);
end;
{ TGiveSeedFertilizerExampleTestCase }
@@ -79,7 +79,7 @@ end;
procedure TGiveSeedFertilizerExampleTestCase.TestPart2;
begin
AssertEquals(-1, FSolver.GetResultPart2);
AssertEquals(46, FSolver.GetResultPart2);
end;
initialization