Пример #1
0
        public void DoWhileLessThan3()
        {
            var ints = YieldClass.DoWhileLessThan3().ToArray();

            AssertEquals(ints.Length, 2);
            AssertEquals(ints[0], 1);
            AssertEquals(ints[1], 2);
        }
Пример #2
0
        public void DoWhileLessThan3()
        {
            var ints = YieldClass.DoWhileLessThan3().ToArray();

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