예제 #1
0
 public void FindsProductOfThreeEntriesSummingTo2020() =>
 Day01.CalculateProductOfThreeEntries(new[]
 {
     "1721",
     "979",
     "366",
     "299",
     "675",
     "1456"
 })
 .Should()
 .Be(241861950);
예제 #2
0
 public void CalculatePartTwo() =>
 Output
 .WriteLine($"Products of three entries summing to 2020: {Day01.CalculateProductOfThreeEntries(Input)}");