THRIFT-929. cpp: Use boost::lognormal_distribution in ZlibTest
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:24 +0000 (17:10 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:24 +0000 (17:10 +0000)
commitf2abcf9a563849dc5861be8aa38f764525c072b1
treecc186334ba89995a6eb31ff2b2cdfab90e3c9c7c
parent9a961e7750bd9d0393802df4d7a3bb6996a3339b
THRIFT-929. cpp: Use boost::lognormal_distribution in ZlibTest

This way we no longer have to have a huge hard-coded list of numbers in
the source code.  The distribution is randomly generated for each run.
(Although the --seed argument can be used for repeatablity.)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005150 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/test/ZlibTest.cpp