aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-06-05 02:10:50 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-06-05 02:16:24 -0700
commit2acd1d6716959b99e751cf85a7c47aaa383e937f (patch)
tree71a50248c17b5b306463d0d189956544ab530382 /src/test
parent0de7cc848e07d942e09bb3bb60189985e53d2bb5 (diff)
Drop uint 256 not operator
All the other operators are integer or bit operations, and this is unused apart from tests.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/arith_uint256_tests.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/arith_uint256_tests.cpp b/src/test/arith_uint256_tests.cpp
index 13ec19834a..8644aea371 100644
--- a/src/test/arith_uint256_tests.cpp
+++ b/src/test/arith_uint256_tests.cpp
@@ -198,13 +198,6 @@ BOOST_AUTO_TEST_CASE( shifts ) { // "<<" ">>" "<<=" ">>="
BOOST_AUTO_TEST_CASE( unaryOperators ) // ! ~ -
{
- BOOST_CHECK(!ZeroL);
- BOOST_CHECK(!(!OneL));
- for (unsigned int i = 0; i < 256; ++i)
- BOOST_CHECK(!(!(OneL<<i)));
- BOOST_CHECK(!(!R1L));
- BOOST_CHECK(!(!MaxL));
-
BOOST_CHECK(~ZeroL == MaxL);
unsigned char TmpArray[32];