public void RealInput() { var spiral = new Spiral(368078); var distance = spiral.GetDistance(); Assert.Equal(371, distance); }
public void FindDistance(int target, int expectedDistance) { var spiral = new Spiral(target); var distance = spiral.GetDistance(); Assert.Equal(expectedDistance, distance); }