diff --git a/03/GearRatios.Tests/GearRatios.Tests.csproj b/03/GearRatios.Tests/GearRatios.Tests.csproj index d3b6c47..e0d4aab 100644 --- a/03/GearRatios.Tests/GearRatios.Tests.csproj +++ b/03/GearRatios.Tests/GearRatios.Tests.csproj @@ -27,4 +27,10 @@ + + + PreserveNewest + + + diff --git a/03/GearRatios.Tests/PuzzleSolverTests.cs b/03/GearRatios.Tests/PuzzleSolverTests.cs index 74c000e..5ad3dfd 100644 --- a/03/GearRatios.Tests/PuzzleSolverTests.cs +++ b/03/GearRatios.Tests/PuzzleSolverTests.cs @@ -36,6 +36,8 @@ public class PuzzleSolverTests ".664.598..", ]; + private static readonly string[] Input = File.ReadAllLines("INPUT.txt"); + public static IEnumerable SumGearRatios => new List { @@ -44,6 +46,11 @@ public class PuzzleSolverTests TestSchematic, 467835, }, + new object[] + { + Input, + 81997870, + } }; public static IEnumerable SumPartNumbersData => @@ -84,6 +91,11 @@ public class PuzzleSolverTests "........375...%.........*......450.456.$.........714........851.327..#...+......*...+.......179.630....854.................................*", }, 11612 + }, + new object[] + { + Input, + 550934, } }; }