Beispiel #1
0
        public void Part1Example()
        {
            var testee = new Day1();

            var(first, second) = testee.Part1(ExampleData);

            new[] { first, second }
            .Should()
            .BeEquivalentTo(new[] { 1721, 299 });
        }
Beispiel #2
0
 public void TestDay1Part1(string input, int answer)
 {
     Day1.
     Part1(input).
     ShouldBeEquivalentTo(answer);
 }