Skip to content

Commit daa6b20

Browse files
committed
Unittests for uint256.h
Unit tests for uint256.h. The file uint160_tests.cpp is no longer needed. The ad-hoc tests which were in uint256.h are also no longer needed. The new tests achieve 100% coverage.
1 parent e85e19b commit daa6b20

File tree

4 files changed

+620
-186
lines changed

4 files changed

+620
-186
lines changed

src/test/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test_bitcoin_SOURCES = alert_tests.cpp \
3434
key_tests.cpp miner_tests.cpp mruset_tests.cpp multisig_tests.cpp \
3535
netbase_tests.cpp pmt_tests.cpp rpc_tests.cpp script_P2SH_tests.cpp \
3636
script_tests.cpp serialize_tests.cpp sigopcount_tests.cpp test_bitcoin.cpp \
37-
transaction_tests.cpp uint160_tests.cpp uint256_tests.cpp util_tests.cpp \
37+
transaction_tests.cpp uint256_tests.cpp util_tests.cpp \
3838
sighash_tests.cpp $(JSON_TEST_FILES) $(RAW_TEST_FILES)
3939

4040
if ENABLE_WALLET

src/test/uint160_tests.cpp

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)