示例#1
0
        public void PuzzleTest1()
        {
            Spiral spiral = new Spiral(25);
            int    steps  = spiral.CalculateSteps(1);

            Assert.Equal(steps, 0);
        }
示例#2
0
        public void PuzzleTest4()
        {
            Spiral spiral = new Spiral(1089);
            int    steps  = spiral.CalculateSteps(1024);

            Assert.Equal(steps, 31);
        }