18 lines
502 B
C#
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);
|
|
}
|