| 55 | |
| 56 | const arith_uint256 HalfL = (OneL << 255); |
| 57 | static std::string ArrayToString(const unsigned char A[], unsigned int width) |
| 58 | { |
| 59 | std::stringstream Stream; |
| 60 | Stream << std::hex; |
| 61 | for (unsigned int i = 0; i < width; ++i) |
| 62 | { |
| 63 | Stream<<std::setw(2)<<std::setfill('0')<<(unsigned int)A[width-i-1]; |
| 64 | } |
| 65 | return Stream.str(); |
| 66 | } |
| 67 | |
| 68 | BOOST_AUTO_TEST_CASE( basics ) // constructors, equality, inequality |
| 69 | { |
no test coverage detected