예제 #1
0
        public void Part2Example()
        {
            var testee = new Day1();

            var(first, second, third) = testee.Part2(ExampleData);

            new[] { first, second, third }
            .Should()
            .BeEquivalentTo(new[] { 979, 366, 675 });
        }
예제 #2
0
 public void TestDay1Part2(string input, int answer)
 {
     Day1.
     Part2(input).
     ShouldBeEquivalentTo(answer);
 }