mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Output formatting for TestPolynomialMod2
This commit is contained in:
parent
e609559f06
commit
b6e0465e71
@ -666,9 +666,9 @@ bool TestPolynomialMod2()
|
||||
pass3 &= (str1 == str2);
|
||||
}
|
||||
|
||||
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 << (!pass3 ? "FAILED" : "passed") << " " << "random values 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 << (!pass3 ? "FAILED" : "passed") << ": " << "random values shifted over range [" << dec << start << "," << stop << "]" << "\n";
|
||||
|
||||
if (!(pass1 && pass2 && pass3))
|
||||
cout.flush();
|
||||
|
Loading…
Reference in New Issue
Block a user