Beispiel #1
0
        public void ContinueWhile()
        {
            var ints = YieldClass.ContinueWhile().ToArray();

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

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