chore(*): Update syntax for newer version of NUnit

This commit is contained in:
Josh Creek
2024-11-28 22:56:28 +00:00
parent 84b90ee274
commit 4c7a90778a
19 changed files with 51 additions and 51 deletions
+3 -3
View File
@@ -139,7 +139,7 @@ namespace AOC.Tests.Y2015
[TestCase("haegwjzuvuyypxyu", 0)]
[TestCase("dvszwmarrgswjxmb", 0)]
[TestCase(null, 258)] // The actual answer
public void Part1(string input, int? expected)
public void Part1(string? input, int? expected)
{
string[] lines = input != null ? new[] { input } : realData;
@@ -166,7 +166,7 @@ namespace AOC.Tests.Y2015
[TestCase("uurcxstgmygtbstg", 0)]
[TestCase("ieodomkazucvgmuy", 0)]
[TestCase(null, 53)] // The actual answer
public void Part2(string input, int? expected)
public void Part2(string? input, int? expected)
{
string[] lines = input != null ? new[] { input } : realData;
@@ -188,4 +188,4 @@ namespace AOC.Tests.Y2015
Console.WriteLine($"Part 2: {niceCount}");
}
}
}
}