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