public void TestPartTwoExample() { string[] commands = { "R75", "D30", "R83", "U83", "L12", "D49", "R71", "U7", "L72" }; string[] commands2 = { "U62", "R66", "U55", "R34", "D71", "R55", "D58", "R83" }; Assert.AreEqual(610, crossedWires.GenerateWiresPartTwo(commands, commands2)); }
public void TestPartTwoActualData() { crossedWires = new CrossedWires("DayThree/data.txt"); Assert.AreEqual(35194, crossedWires.GenerateWiresPartTwo(crossedWires.First, crossedWires.Second)); }