public void SolveSecondPuzzle() { var sut = new ShipWithWaypoint(PuzzleData.PUZZLE_DATA); sut.ExecuteInstructions(); Assert.Equal(62434, sut.ManhattanDistance); }
public void Test3(string instructions, int expectedDistance) { var sut = new ShipWithWaypoint(instructions); sut.ExecuteInstructions(); Assert.Equal(expectedDistance, sut.ManhattanDistance); }