cout << res[j] << ",";
printf("%d,", res[j]);
PRBool TestASCIIWB(nsIWordBreaker *lb,                 const char* in, const PRUint32 len,                  const PRUint32* out, PRUint32 outlen){         nsAutoString eng1; eng1.AssignWithConversion(in);         // nsBreakState bk(eng1.get(), eng1.Length());         PRUint32 i,j;         PRUint32 res[256];         PRBool ok = PR_TRUE;         PRBool done;         PRUint32 curr =0;         for(i = 0, lb->NextWord(eng1.get(), eng1.Length(), curr, &curr, &done);                    (! done ) && (i < 256);                    lb->NextWord(eng1.get(), eng1.Length(), curr, &curr, &done), i++)         {            res [i] = curr;         }         if (i != outlen)         {            ok = PR_FALSE;            cout << "WARNING!!! return size wrong, expect " << outlen <<                    " bet got " << i << "\n";         }         cout << "string  = \n" << in << "\n";         cout << ruler1 << "\n";         cout << ruler2 << "\n";         cout << "Expect = \n";         for(j=0;j<outlen;j++)         {            cout << out[j] << ",";         }         cout << "\nResult = \n";         for(j=0;j<i;j++)         {            cout << res[j] << ",";         }         cout << "\n";         for(j=0;j<i;j++)         {            if(j < outlen)            {                if (res[j] != out[j])                {                   ok = PR_FALSE;                   cout << "[" << j << "] expect " << out[j] << " but got " <<                      res[j] << "\n";                }            } else {                   ok = PR_FALSE;                   cout << "[" << j << "] additional " <<                      res[j] << "\n";               }         }         return ok;}