Exemplo n.º 1
0
        public void Foreach()
        {
            var strings = YieldClass.Foreach().ToArray();

            AssertEquals(strings.Length, 3);
            AssertEquals(strings[0], "one");
            AssertEquals(strings[1], "two");
            AssertEquals(strings[2], "three");
        }