Example #1
0
        public void Part1_WhenCalled_ReturnsCorrectCount()
        {
            const int expected = 386;

            int actual = Day04.Part1();

            Assert.Equal(expected, actual);
        }
Example #2
0
 public void Puzzle2Test()
 {
     Assert.AreEqual(106850, Day04.Puzzle2(inputDay04));
 }
Example #3
0
 public void Puzzle1Test()
 {
     Assert.AreEqual(71748, Day04.Puzzle1(inputDay04));
 }
Example #4
0
 public void Puzzle2ExampleTest()
 {
     Assert.AreEqual(4455, Day04.Puzzle2(inputDay04Example1));
 }
Example #5
0
 public void Puzzle1ExampleTest()
 {
     Assert.AreEqual(240, Day04.Puzzle1(inputDay04Example1));
 }