diff --git a/src/test.cpp b/src/test.cpp index 6a0e991e..ee77d0dc 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -40,6 +40,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "inventory.h" #include "util/numeric.h" #include "util/serialize.h" +#include "noise.h" // PseudoRandom used for random data for compression /* Asserts that the exception occurs @@ -415,6 +416,39 @@ struct TestCompress: public TestBase } } + + // Test zlib wrapper with large amounts of data (larger than it's + // internal buffers) + { + infostream<<"Test: Testing zlib wrappers with a large amount " + <<"of pseudorandom data"<