Example #1
0
    public static void Main(String[] args)
    {
        bool bResult = false;
        Co4233GetHashCode oCo4233GHCa = new Co4233GetHashCode();

        try
        {
            bResult = oCo4233GHCa.runTest();
        }
        catch (Exception exc)
        {
            bResult = false;
            Console.Error.WriteLine("Character.GetHashCode: Co4233GHC FAiL.");
            Console.Error.WriteLine(exc.Message);
        }
        if (bResult == true)
        {
            Environment.ExitCode = 0;
        }
        else
        {
            Environment.ExitCode = 1;
        }
    }
Example #2
0
 public static void Main( String[] args )
   {
   bool bResult = false; 
   Co4233GetHashCode oCo4233GHCa = new Co4233GetHashCode();
   try
     {
     bResult = oCo4233GHCa.runTest();
     }
   catch (Exception exc)
     {
     bResult = false;
     Console.Error.WriteLine( "Character.GetHashCode: Co4233GHC FAiL." );
     Console.Error.WriteLine( exc.Message );
     }
   if ( bResult == true ) Environment.ExitCode = 0; else Environment.ExitCode = 1;
   }