Esempio n. 1
0
        public void ForLoopNoVariableWithInitializer()
        {
            var ints = YieldClass.ForLoopNoVariableWithInitializer().ToArray();

            AssertEquals(ints.Length, 3);
            AssertEquals(ints[0], 0);
            AssertEquals(ints[1], 1);
            AssertEquals(ints[2], 2);
        }