ben
/
aoc
1
0
Fork 0

add test input tests for 2022
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2022-12-01 01:15:27 -05:00
parent 903c185405
commit 44a9613cf5
1 changed files with 9 additions and 0 deletions

View File

@ -10,4 +10,13 @@ public class Test2022
{
Common.CheckDay(dayType, part1, part2);
}
[DataTestMethod]
[DataRow(typeof(Day01), "24000", "45000")]
public void TestAllDays(Type dayType, string part1, string part2)
{
Day.UseTestInput = true;
Common.CheckDay(dayType, part1, part2);
Day.UseTestInput = false;
}
}