public void PartTwo() { // Arrange var target = new Day02(); // Act var result = target.Debug(Part.Two); // Assert Assert.IsNotNull(result); Assert.AreEqual(3812909, result); }
public void PartTwoTest(string input, int expected) { // Arrange var target = new Day02(new string[] { input }); // Act var result = target.Debug(Part.Two); // Assert Assert.IsNotNull(result); Assert.AreEqual(expected, result); }
public void PartOne() { // Arrange var target = new Day02(); // Act var result = target.Debug(Part.One); // Assert Assert.IsNotNull(result); Assert.AreEqual(1598415, result); }
public void PartOneTest(string[] input, string expected) { // Arrange var target = new Day02(input); // Act var result = target.Debug(Part.One); // Assert Assert.IsNotNull(result); Assert.AreEqual(expected, result); }