public void GetConditionalSequence_5()
        {
            // Arrange
            SequenceController controller = new SequenceController();

            // Act
            var result = controller.GetConditionalSequence( 10 );

            // Assert
            Assert.IsNotNull( result );
            Assert.AreEqual( "E", result );
        }
        public void GetEvenSequence()
        {
            // Arrange
            SequenceController controller = new SequenceController();

            // Act
            IEnumerable<int> result = controller.GetEvenSequence( 10 );

            // Assert
            Assert.IsNotNull( result );
            Assert.AreEqual( 6, result.Count() );
            Assert.AreEqual( 4, result.ElementAt( 2 ) );
            Assert.AreEqual( 8, result.ElementAt( 4 ) );
        }
        public void GetFibonacciSequence()
        {
            // Arrange
            SequenceController controller = new SequenceController();

            // Act
            IEnumerable<int> result = controller.GetFibonacciSequence( 10 );

            // Assert
            Assert.IsNotNull( result );
            Assert.AreEqual( 7, result.Count() );

            Assert.AreEqual( 1, result.ElementAt( 2 ) );
            Assert.AreEqual( 2, result.ElementAt( 3 ) );
            Assert.AreEqual( 5, result.ElementAt( 5 ) );
        }