runTest() public method

public runTest ( ) : bool
return bool
Exemplo n.º 1
0
    public static void Main(String[] args)
    {
        bool bResult = false;
        Co1126Substring_Int oCo1126Sa = new Co1126Substring_Int();

        bResult = oCo1126Sa.runTest
                      ();
        if (bResult == true)
        {
            System.Console.Error.WriteLine("String.Substring: Co1126S paSs.");
        }
        else
        {
            System.Console.Error.WriteLine("String.Substring: Co1126S FAiL.");
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 11;
        }
    }
Exemplo n.º 2
0
 public static void Main( String[] args )
   {
   bool bResult = false; 
   Co1126Substring_Int oCo1126Sa = new Co1126Substring_Int();
   bResult = oCo1126Sa.runTest
     ();
   if (bResult == true) System.Console.Error.WriteLine( "String.Substring: Co1126S paSs." );
   else                 System.Console.Error.WriteLine( "String.Substring: Co1126S FAiL." );
   if (bResult == true) Environment.ExitCode = 0;
   else                 Environment.ExitCode = 11;
   }