ben
/
aoc
1
0
Fork 0
aoc/AOC.Test/Test2023.cs

18 lines
502 B
C#

using AOC2023;
namespace AOC.Test;
[TestClass]
public class Test2023
{
[DataTestMethod]
[DataRow(typeof(Day01), "54331", "54518")]
public void CheckAllDays(Type dayType, string part1, string part2) =>
Common.CheckDay(dayType, part1, part2);
[DataTestMethod]
[DataRow(typeof(Day01), "142", "142")] // unfortunately p2 example is different
public void CheckTestInputs(Type dayType, string part1, string part2) =>
Common.CheckDay(dayType, part1, part2, true);
}