mirror of
https://github.com/jcreek/advent-of-code.git
synced 2026-07-14 03:33:45 +00:00
chore(*): Update syntax for newer version of NUnit
This commit is contained in:
@@ -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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user