Example #1
0
        public void should_map()
        {
            var test       = array(1, 2, 3, 4, 5, 6);
            var enumerable = new Mapped <int, string>(test, item => item.ToString());

            Assert.IsTrue(enumerable.SequenceEqual(array("1", "2", "3", "4", "5", "6")));
        }