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

            objTestDriver1.test();
            objTestDriver1.getLog();
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Console.Write("\n  Local test:\n");

            ITest test = TestDriver1.create();

            if (test.test() == true)
            {
                Console.Write("\n  test passed");
            }
            else
            {
                Console.Write("\n  test failed");
            }
            Console.Write("\n\n");
        }