Пример #1
0
    static int Main()
    {
        Boolean             bResult = false;
        Co9604get_IsRunning cbA     = new Co9604get_IsRunning();

        try
        {
            bResult = cbA.runTest();
        }
        catch (Exception exc_main)
        {
            bResult = false;
            Console.WriteLine(s_strTFAbbrev + " : FAiL! Error Err_9999zzz! Uncaught Exception in main(), exc_main==" + exc_main);
        }

        if (bResult)
        {
            Console.WriteLine("Pass");
            return(100);
        }
        else
        {
            Console.WriteLine("FAiL!  " + s_strTFAbbrev);
            Console.WriteLine(" ");
            return(1);
        }
    }
Пример #2
0
    static int Main()
    {
      
        Boolean bResult = false;
        Co9604get_IsRunning cbA = new Co9604get_IsRunning();

        try 
        {
            bResult = cbA.runTest();
        } 
        catch (Exception exc_main)
        {
            bResult = false;
            Console.WriteLine(s_strTFAbbrev + " : FAiL! Error Err_9999zzz! Uncaught Exception in main(), exc_main=="+exc_main);
        }

        if (bResult)
        {
            Console.WriteLine("Pass");
            return 100;
        }
        else
        {
            Console.WriteLine("FAiL!  " + s_strTFAbbrev);
            Console.WriteLine(" ");
            return 1;
        }
    }