Output formatting for TestPolynomialMod2

pull/260/head
Jeffrey Walton 2016-09-08 04:24:29 -04:00
parent e609559f06
commit b6e0465e71
1 changed files with 3 additions and 3 deletions

View File

@ -666,9 +666,9 @@ bool TestPolynomialMod2()
pass3 &= (str1 == str2); pass3 &= (str1 == str2);
} }
cout << (!pass1 ? "FAILED" : "passed") << " " << "1 shifted over range [" << dec << start << "," << stop << "]" << "\n"; cout << (!pass1 ? "FAILED" : "passed") << ": " << "1 shifted over range [" << dec << start << "," << stop << "]" << "\n";
cout << (!pass2 ? "FAILED" : "passed") << " " << "0x" << hex << word(SIZE_MAX) << dec << " shifted over range [" << start << "," << stop << "]" << "\n"; cout << (!pass2 ? "FAILED" : "passed") << ": " << "0x" << hex << word(SIZE_MAX) << dec << " shifted over range [" << start << "," << stop << "]" << "\n";
cout << (!pass3 ? "FAILED" : "passed") << " " << "random values shifted over range [" << dec << start << "," << stop << "]" << "\n"; cout << (!pass3 ? "FAILED" : "passed") << ": " << "random values shifted over range [" << dec << start << "," << stop << "]" << "\n";
if (!(pass1 && pass2 && pass3)) if (!(pass1 && pass2 && pass3))
cout.flush(); cout.flush();