public static void Main(System.String[] args)
    {
        bool bResult = false;

        try
        {
            Co1556Set o2Co1556Set = new Co1556Set();
            bResult = o2Co1556Set.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("BitArray- Co1556Set main caught Exception!");
            System.Console.Error.WriteLine(exc.ToString());
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
示例#2
0
 public static void Main( System.String[] args )
 {
     bool bResult = false; 
     try
     {
         Co1556Set o2Co1556Set = new Co1556Set();
         bResult = o2Co1556Set.runTest();
     }
     catch ( System.Exception exc )
     {
         bResult = false;
         System.Console.Error.WriteLine( "BitArray- Co1556Set main caught Exception!" );
         System.Console.Error.WriteLine( exc.ToString() );
     }
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }