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

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

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