Example #1
0
 public override Day Run()
 {
     dayOfMonth = 6;
     stopwatch.Start();
     answer_part1 = CustomsDeclaration.SumDeclarationsFromFile("input/day6.txt").ToString();
     answer_part2 = CustomsDeclaration.SumDeclarationsEveryoneFromFile("input/day6.txt").ToString();
     return(this);
 }
 public void TestSumDeclarationsEveryoneFromFile()
 {
     Assert.Equal(6, CustomsDeclaration.SumDeclarationsEveryoneFromFile("input/day6.txt"));
 }