Пример #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);
 }
Пример #2
0
 public void TestSumDeclarationsFromFile()
 {
     Assert.Equal(11, CustomsDeclaration.SumDeclarationsFromFile("input/day6.txt"));
 }