aboutsummaryrefslogtreecommitdiff
path: root/src/test/uint160_tests.cpp
diff options
context:
space:
mode:
authorThomas Holenstein <thomas.holenstein@gmail.com>2013-12-21 16:54:43 +0100
committerThomas Holenstein <thomas.holenstein@gmail.com>2013-12-25 11:07:21 +0100
commitdaa6b20e29f3926a16d4da6962ff00b74623fc6b (patch)
treee2a653501b515319d63b1c4ddddd61498204d17c /src/test/uint160_tests.cpp
parente85e19be06c59529bfda100729e8ef3148349952 (diff)
downloadbitcoin-daa6b20e29f3926a16d4da6962ff00b74623fc6b.tar.xz
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.
Diffstat (limited to 'src/test/uint160_tests.cpp')
-rw-r--r--src/test/uint160_tests.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/uint160_tests.cpp b/src/test/uint160_tests.cpp
deleted file mode 100644
index 87418fabec..0000000000
--- a/src/test/uint160_tests.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "uint256.h"
-
-#include <stdint.h>
-
-#include <boost/test/unit_test.hpp>
-
-BOOST_AUTO_TEST_SUITE(uint160_tests)
-
-BOOST_AUTO_TEST_CASE(uint160_equality)
-{
- uint160 num1 = 10;
- uint160 num2 = 11;
- BOOST_CHECK(num1+1 == num2);
-
- uint64_t num3 = 10;
- BOOST_CHECK(num1 == num3);
- BOOST_CHECK(num1+num2 == num3+num2);
-}
-
-BOOST_AUTO_TEST_SUITE_END()