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

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