public void testSpiralGrid_ManhattanDistance(long steps, long expectedDist) { var spiralGrid = new SpiralGrid(steps); Assert.Equal(expectedDist, spiralGrid.ManhattanDistance()); }
public string PartA() { var spiral = new SpiralGrid(Input); return(spiral.ManhattanDistance().ToString()); }