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

@@ -2,7 +2,7 @@ namespace AdventOfCode2023.Tests;
public class Day11_Tests
{
private readonly string[] _example1 = {
private readonly string[] _example1 = [
"...#......",
".......#..",
"#.........",
@@ -13,16 +13,15 @@ public class Day11_Tests
"..........",
".......#..",
"#...#.....",
};
];
[Fact]
public void ResolvePart1__Example1()
{
Day11 day = new();
string result = day.ResolvePart1(_example1);
Assert.Equal("374", result);
}
}