コード例 #1
0
        public static void Main(string[] args)
        {
            BestPairTests tests = new BestPairTests();

            tests.PrepareTestSets();
            tests.TestSets["BestPair"].PerformTests(false);
            tests.TestSets["BestPairWithBypass"].PerformTests(false);
        }
コード例 #2
0
        public static void Main(string[] args)
        {
            var a = new int[] { 1, 2, 3, 4, 5, 6 };

            foreach (var i in a)
            {
                if (i == 4)
                {
                    break;
                }
                Console.WriteLine(i);
            }


            BestPairTests tests = new BestPairTests();

            tests.PrepareTestSets();
            tests.TestSets["BestPair"].PerformTests(false);
            tests.TestSets["BestPairWithBypass"].PerformTests(false);
        }