public void ShouldCalculateLayerFor10To25()
        {
            var range         = Day3Calculators.Range(10, 25);
            var expectedLayer = 2;

            assertValuesInRangeAreInLayer(range, expectedLayer);
        }
        public void ShouldCalculateLayerFor2To9()
        {
            var range         = Day3Calculators.Range(2, 9);
            var expectedLayer = 1;

            assertValuesInRangeAreInLayer(range, expectedLayer);
        }
        public void ShouldDoRangeFromXtoY()
        {
            int minSeen = 30;
            int maxSeen = 30;

            IEnumerable <int> enumerable = Day3Calculators.Range(23, 37);

            foreach (var i in enumerable)
            {
                if (i < minSeen)
                {
                    minSeen = i;
                }
                else if (i > maxSeen)
                {
                    maxSeen = i;
                }
            }
            Assert.Equal(23, minSeen);
            Assert.Equal(37, maxSeen);
        }