public void It_Should_Generate_Some_Values_Descending()
        {
            // Arrange
            var generatorValue = new GeneratorValue(NumericValue.Create(5), NumericValue.Create(2));

            // Act
            var result = generatorValue.AsEnumerable();

            // Assert
            Assert.That(result.Select(x => x.Value), Is.EqualTo(new List<int> { 5,4,3,2 }));

        }
        public void It_Should_Generate_Some_Values(int start, int end, int[] expected )
        {
            // Arrange
            var generatorValue = new GeneratorValue(NumericValue.Create(start), NumericValue.Create(end));

            // Act
            var result = generatorValue.AsEnumerable();

            // Assert
            Assert.That(result.Select(x => x.Value), Is.EqualTo(expected.ToList()));

        }