public void ForLoopNoVariableNoInitializer() { var ints = YieldClass.ForLoopNoVariableNoInitializer().ToArray(); AssertEquals(ints.Length, 3); AssertEquals(ints[0], 0); AssertEquals(ints[1], 1); AssertEquals(ints[2], 2); }
public void ForLoopNoVariableNoInitializer() { var ints = YieldClass.ForLoopNoVariableNoInitializer().ToArray(); AssertEquals(ints.Length, 3); AssertEquals(ints[0], 0); AssertEquals(ints[1], 1); AssertEquals(ints[2], 2); }