public void RealInputStageTwo() { var spiral = new SpiralStageTwo(368078); var nextValue = spiral.FindValueSecondStage(368078); Assert.Equal(369601, nextValue); }
public void SecondStage(int input, int output) { var spiral = new SpiralStageTwo(199); var nextValue = spiral.FindValueSecondStage(input); Assert.Equal(output, nextValue); }