From d2a20ef120931e5a3ca1dd563266e30bb55daadc Mon Sep 17 00:00:00 2001 From: Vlad Gluhovsky Date: Tue, 7 Jul 2015 11:16:41 +0200 Subject: [PATCH] test updated --- test/libdevcore/FixedHash.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/libdevcore/FixedHash.cpp b/test/libdevcore/FixedHash.cpp index e990a3bd0..dc5ced2c1 100644 --- a/test/libdevcore/FixedHash.cpp +++ b/test/libdevcore/FixedHash.cpp @@ -134,6 +134,10 @@ BOOST_AUTO_TEST_CASE(FixedHashIncrement) incrementSingleIteration(0xFFFF); incrementSingleIteration(0xFEDCBA); incrementSingleIteration(0x7FFFFFFF); + + FixedHash<4> h(0xFFFFFFFF); + FixedHash<4> zero; + BOOST_CHECK_EQUAL(++h, zero); } BOOST_AUTO_TEST_SUITE_END()