Example #1
0
        public void CollidingFor()
        {
            var ints = YieldClass.CollidingForeach().ToArray();

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

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