Exemple #1
0
 public void PartB(string file, string expected)
 {
     var problem = new Day01B(file);
     var result = problem.Solve();
     Assert.Equal(expected, result);
     Assert.Equal(expected, result);
 }
        public void Day1TestTest1()
        {
            var values   = new int[] { 1721, 979, 366, 299, 675, 1456 };
            var expected = 514579;
            var result   = Day01B.Day1CalculatorPart1(values);

            Assert.Equal(expected, result);
        }