mirror of
https://github.com/jcreek/advent-of-code.git
synced 2026-07-15 04:03:45 +00:00
chore(*): Update syntax for newer version of NUnit
This commit is contained in:
@@ -24,7 +24,7 @@ namespace AOC.Tests.Y2015
|
||||
[TestCase(")))", -3)] // Example data
|
||||
[TestCase(")())())", -3)] // Example data
|
||||
[TestCase(null, 232)] // The actual answer
|
||||
public void Part1(string input, int? expected)
|
||||
public void Part1(string? input, int? expected)
|
||||
{
|
||||
var lines = input != null ? input : realData;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace AOC.Tests.Y2015
|
||||
[TestCase(")", 1)] // Example data
|
||||
[TestCase("()())", 5)]
|
||||
[TestCase(null, 1783)] // The actual answer
|
||||
public void Part2(string input, int? expected)
|
||||
public void Part2(string? input, int? expected)
|
||||
{
|
||||
var lines = input != null ? input : realData;
|
||||
|
||||
@@ -79,4 +79,4 @@ namespace AOC.Tests.Y2015
|
||||
Console.WriteLine($"Part 2: {result}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user