public void Given_ListOfNumbers_When_FindOddNumbers_Then_ShouldReturnOddNumbersList()
        {
            IEnumerable <int> findNumberType = HigherFunctionalMethod.FindNumberType(numbers, TypeOfNumber.odd);
            var expectedOddNumbers           = new[] { 1, 3, 5, 7, 9 };

            Assert.That(findNumberType, Is.EqualTo(expectedOddNumbers));
        }
        public void Given_ListOfNumbers_When_FindPerfectNumbers_Then_ShouldReturnPerfectNumbersList()
        {
            IEnumerable <int> findNumberType = HigherFunctionalMethod.FindNumberType(numbers, TypeOfNumber.perfect);
            var expectedperfectNumbers       = new[] { 6 };

            Assert.That(findNumberType, Is.EqualTo(expectedperfectNumbers));
        }
        public void Given_ListOfNumbers_When_FindEvenNumbers_Then_ShouldReturnEvenNumbersList()
        {
            IEnumerable <int> findNumberType = HigherFunctionalMethod.FindNumberType(numbers, TypeOfNumber.even);
            var ExpectedEvenNumbers          = new[] { 2, 4, 6, 8 };

            Assert.That(findNumberType, Is.EqualTo(ExpectedEvenNumbers));
        }