public void Array_size_for_12_should_be_5()
        {
            // assemble
            const int INPUT    = 12;
            const int EXPECTED = 5;

            var builder = new ManhattanDistanceBuilder();

            // apply
            var arraySize = builder.GetSpiralDepth(INPUT);

            // assert
            Assert.Equal(EXPECTED, arraySize);
        }
        public void Distance_to_49_should_be_6()
        {
            // assemble
            const int INPUT    = 49;
            const int EXPECTED = 6;

            var builder = new ManhattanDistanceBuilder();

            // apply
            var distance = builder.Distance(INPUT);

            // assert
            Assert.Equal(EXPECTED, distance);
        }
        public void Distance_to_289326_should_be_0()
        {
            // assemble
            const int INPUT    = 289326;
            const int EXPECTED = 419;

            var builder = new ManhattanDistanceBuilder();

            // apply
            var distance = builder.Distance(INPUT);

            // assert
            Assert.Equal(EXPECTED, distance);
        }