mirror of
https://github.com/jcreek/advent-of-code.git
synced 2026-07-13 11:13:47 +00:00
chore(*): Update syntax for newer version of NUnit
This commit is contained in:
@@ -16,7 +16,7 @@ public class DayX
|
||||
|
||||
[TestCase("blah", 0)]
|
||||
[TestCase(null, 232)] // The actual answer
|
||||
public void Part1(string input, int? expected)
|
||||
public void Part1(string? input, int? expected)
|
||||
{
|
||||
string[] lines = input != null ? new[] { input } : realData;
|
||||
// string[] lines = input != null ? input.Split("\n") : realData;
|
||||
@@ -31,7 +31,7 @@ public class DayX
|
||||
|
||||
[TestCase("blah", 1)]
|
||||
[TestCase(null, 1783)] // The actual answer
|
||||
public void Part2(string input, int? expected)
|
||||
public void Part2(string? input, int? expected)
|
||||
{
|
||||
//string[] lines = input != null ? new[] { input } : realData;
|
||||
// string[] lines = input != null ? input.Split("\n") : realData;
|
||||
|
||||
Reference in New Issue
Block a user