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