Skip to content

Commit

Permalink
Unittests for uint256.h
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tholenst committed Dec 25, 2013
1 parent e85e19b commit daa6b20
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 186 deletions.
2 changes: 1 addition & 1 deletion src/test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test_bitcoin_SOURCES = alert_tests.cpp \
key_tests.cpp miner_tests.cpp mruset_tests.cpp multisig_tests.cpp \
netbase_tests.cpp pmt_tests.cpp rpc_tests.cpp script_P2SH_tests.cpp \
script_tests.cpp serialize_tests.cpp sigopcount_tests.cpp test_bitcoin.cpp \
transaction_tests.cpp uint160_tests.cpp uint256_tests.cpp util_tests.cpp \
transaction_tests.cpp uint256_tests.cpp util_tests.cpp \
sighash_tests.cpp $(JSON_TEST_FILES) $(RAW_TEST_FILES)

if ENABLE_WALLET
Expand Down
20 changes: 0 additions & 20 deletions src/test/uint160_tests.cpp

This file was deleted.

Loading

0 comments on commit daa6b20

Please sign in to comment.