runTest() public method

public runTest ( ) : bool
return bool
Exemplo n.º 1
0
    public static void Main(String[] args)
    {
        System.Console.Error.WriteLine("String.Equals: Co1100E main running:");
        bool bResult = false;
        Co4834Equals_String_String oCo1100Ea = new Co4834Equals_String_String();

        bResult = oCo1100Ea.runTest
                      ();
        if (bResult == true)
        {
            System.Console.Error.WriteLine("String.Equals: Co1100E paSs.");
        }
        else
        {
            System.Console.Error.WriteLine("String.Equals: Co1100E FAiL.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
 public static void Main( String[] args )   
   {
   System.Console.Error.WriteLine( "String.Equals: Co1100E main running:" );
   bool bResult = false; 
   Co4834Equals_String_String oCo1100Ea = new Co4834Equals_String_String();
   bResult = oCo1100Ea.runTest
     ();
   if (bResult == true) System.Console.Error.WriteLine( "String.Equals: Co1100E paSs." );
   else                 System.Console.Error.WriteLine( "String.Equals: Co1100E FAiL." );
   if (bResult == true) Environment.ExitCode = 0;
   else                 Environment.ExitCode = 1;
   }