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

27 lines
711 B
C#
Raw Normal View History

using AOC2015;
namespace AOC.Test;
[TestClass]
public class Test2015
{
[DataTestMethod]
[DataRow(typeof(Day01), "232", "1783")]
[DataRow(typeof(Day02),"1586300", "3737498")]
2022-11-11 21:17:17 +00:00
[DataRow(typeof(Day03), "2081", "2341")]
public void TestAllDays(Type dayType, string part1, string part2)
{
Common.CheckDay(dayType, part1, part2);
}
[DataTestMethod]
2022-11-11 21:17:34 +00:00
[DataRow(typeof(Day01), "-1", "5")]
[DataRow(typeof(Day02), "58", "34")]
2022-11-11 21:17:17 +00:00
[DataRow(typeof(Day03), "2", "11")]
public void CheckTestInputs(Type dayType, string part1, string part2)
{
Day.UseTestInput = true;
Common.CheckDay(dayType, part1, part2);
Day.UseTestInput = false;
}
}