Пример #1
0
    public static void Main(System.String[] args)
    {
        bool      bResult     = false;
        Co1553Not o2Co1553Not = new Co1553Not();

        try
        {
            bResult = o2Co1553Not.runTest();
        }
        catch (System.Exception exc)
        {
            bResult = false;
            System.Console.Error.WriteLine("BitArray- Co1553Not main caught Exception!");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Пример #2
0
 public static void Main( System.String[] args )
 {
     bool bResult = false; 
     Co1553Not o2Co1553Not = new Co1553Not();
     try
     {
         bResult = o2Co1553Not.runTest();
     }
     catch ( System.Exception exc )
     {
         bResult = false;
         System.Console.Error.WriteLine( "BitArray- Co1553Not main caught Exception!" );
     }
     if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1; 
 }