public void PuzzleTwo() { string input = File.ReadAllText("tests/y2019/Day3.Input.txt"); var wires = input.Split('\n'); var actual = CrossedWires .FindStepsCrossings(wires.First(), wires.Last()); Assert.Equal(20286, actual); }
public void FindNearestSteps(int expected, string a, string b) { var actual = CrossedWires.FindStepsCrossings(a, b); Assert.Equal(expected, actual); }