public void should_return_empty_sequence_when_empty_sequence_is_given()
        {
            var emptySequence = new List <int>();
            var selector      = new EvenNumbersSelector();

            Assert.IsEmpty(selector.Select(emptySequence));
        }
        public void should_return_empty_sequence_when_there_are_no_even_numbers()
        {
            var oddSequence = new List <int>()
            {
                3, 5, 355, 321, 45
            };
            var selector = new EvenNumbersSelector();

            Assert.IsEmpty(selector.Select(oddSequence));
        }
        public void should_return_all_even_numbers_from_sequence()
        {
            var testSequence = new List <int>()
            {
                1, 2, 3, 6, 4, 15, 23
            };
            var correctResultSequence = new List <int>()
            {
                2, 6, 4
            };
            var selector = new EvenNumbersSelector();

            CollectionAssert.AreEqual(correctResultSequence, selector.Select(testSequence));
        }