add debug printout

This commit is contained in:
weidai 2007-05-05 01:03:16 +00:00
parent c992330622
commit b9e10208c6

View File

@ -449,6 +449,7 @@ public:
{
if (counter >= outputLen || validOutput[counter] != inByte)
{
std::cerr << "incorrect output " << counter << ", " << (word16)validOutput[counter] << ", " << (word16)inByte << "\n";
fail = true;
assert(false);
}