public void Part2(string[] input, long expected) { var day = new Day18(); var actual = day.Part2(input); Assert.Equal(expected, actual); }
public void Day18_Part2_Extra(string input, long part1) { var d = new Day18(); d.OverrideInput(input.Replace(" ", string.Empty)); Assert.Equal(part1.ToString(), d.Part2()); }
public void Part2(string input, int output) { var result = Day18.Part2(input); Assert.True(result == output, $"Expected: {output}, Received: {result}"); }
public void Day18_Part2(long ans) { var d = new Day18(); Assert.Equal(ans.ToString(), d.Part2()); }
public int Part2(string input) { var target = new Day18(); return(target.Part2(input)); }