Browse Source

Fuzz Tests update

cl-refactor
Dimitry 10 years ago
parent
commit
5a0f990067
  1. 2
      test/TestHelper.h
  2. 2
      test/fuzzTesting/fuzzHelper.cpp

2
test/TestHelper.h

@ -45,7 +45,7 @@
#define TBOOST_THROW_EXCEPTION(arg) BOOST_THROW_EXCEPTION(arg)
#define TBOOST_REQUIRE(arg) BOOST_REQUIRE(arg)
#define TBOOST_REQUIRE_EQUAL(arg1, arg2) BOOST_REQUIRE_EQUAL(arg1, arg2)
#define TBOOST_CHECK(arg) BOOOST_CHECK(arg)
#define TBOOST_CHECK(arg) BOOST_CHECK(arg)
#define TBOOST_CHECK_EQUAL(arg1, arg2) BOOST_CHECK_EQUAL(arg1, arg2)
#define TBOOST_CHECK_MESSAGE(arg1, arg2) BOOST_CHECK_MESSAGE(arg1, arg2)
#define TBOOST_WARN_MESSAGE(arg1, arg2) BOOST_WARN_MESSAGE(arg1, arg2)

2
test/fuzzTesting/fuzzHelper.cpp

@ -50,7 +50,7 @@ std::string RandomCode::rndByteSequence(int _length, SizeStrictness _sizeType)
for (auto i = 0; i < _length; i++)
{
uint8_t byte = randOpCodeGen();
hash += toCompactHex(byte);
hash += toCompactHex(byte, HexPrefix::DontAdd, 1);
}
return hash;
}

Loading…
Cancel
Save