Beispiel #1
0
        static int Main()
        {
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return(100);
            }
            Console.WriteLine("Test Failed");
            return(1);
        }
Beispiel #2
0
        static int Main()
        {
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return 100;
            }
            Console.WriteLine("Test Failed");
            return 1;

        }
Beispiel #3
0
        static int Main()
        {
            CreateObj temp = new CreateObj();

            temp.RunTest();

            GC.Collect();
            GC.WaitForPendingFinalizers();

            if (C.count == 2)
            {
                Console.WriteLine("Test Passed");
                return(100);
            }
            Console.WriteLine("Test Failed");
            return(1);
        }