61 uint64_t
Value()
const;
75 void Add(
const string& str);
96 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
uint64_t Value() const
Retrieves the value of the checksum, as a uint64_t.
void Add(uint64_t x)
Add a uint64_t to the checksum.
bool operator!=(const Checksum &other) const
Compares one Checksum to another for inequality.
bool operator==(const Checksum &other) const
Compares one Checksum to another for equality.
Checksum()
Constructs a zeroed checksum.
static void RunUnitTests(int &nSucceeded, int &nFailures)
Base class for unit testable classes.