Code formatting and warning fixing.

This commit is contained in:
2024-12-01 17:36:23 +01:00
parent 9f8d966b7a
commit dafd2526d1
93 changed files with 739 additions and 823 deletions

View File

@@ -64,14 +64,14 @@ public class Day06_Tests
{
Day06 day06 = new();
string result = day06.ResolvePart1(new[] {
string result = day06.ResolvePart1([
"1, 1",
"1, 6",
"8, 3",
"3, 4",
"5, 5",
"8, 9",
});
]);
Assert.Equal("17", result);
}
@@ -79,16 +79,16 @@ public class Day06_Tests
[Fact]
public void ResolvePart2__Test()
{
Day06 day06 = new() { DistanceThresold = 32, };
Day06 day06 = new() { DistanceThreshold = 32, };
string result = day06.ResolvePart2(new[] {
string result = day06.ResolvePart2([
"1, 1",
"1, 6",
"8, 3",
"3, 4",
"5, 5",
"8, 9",
});
]);
Assert.Equal("16", result);
}