Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public void TestSumDeclarationsEveryoneFromFile()
 {
     Assert.Equal(6, CustomsDeclaration.SumDeclarationsEveryoneFromFile("input/day6.txt"));
 }