Ejemplo n.º 1
0
        public void EvenAndOddNumbers_PickOnlyOddNumbers()
        {
            var sut = new OddNumbersSelector();

            int[] numbers = { 3, 4, 5, 9, 7 };
            var   result  = sut.Pick(numbers).Sum();

            Assert.That(result, Is.EqualTo(24));
        }