public void Part1Example() { var testee = new Day1(); var(first, second) = testee.Part1(ExampleData); new[] { first, second } .Should() .BeEquivalentTo(new[] { 1721, 299 }); }
public void TestDay1Part1(string input, int answer) { Day1. Part1(input). ShouldBeEquivalentTo(answer); }