コード例 #1
0
        public void Part1Example()
        {
            var testee = new Day1();

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

            new[] { first, second }
            .Should()
            .BeEquivalentTo(new[] { 1721, 299 });
        }
コード例 #2
0
ファイル: Day1Tests.cs プロジェクト: tobper/AdventOfCode2016
 public void TestDay1Part1(string input, int answer)
 {
     Day1.
     Part1(input).
     ShouldBeEquivalentTo(answer);
 }