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