Пример #1
0
        public void Problem1_Example1(int address, int expectedDistance)
        {
            var distance = SpiralMemory.Distance(address);

            Assert.Equal(expectedDistance, distance);
        }
Пример #2
0
        public override string FirstStar()
        {
            var result = SpiralMemory.Distance(289326);

            return(result.ToString());
        }