MCPcopy Create free account
hub / github.com/ElementsProject/elements / Between

Function Between

src/leveldb/db/db_test.cc:1164–1172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162}
1163
1164static bool Between(uint64_t val, uint64_t low, uint64_t high) {
1165 bool result = (val >= low) && (val <= high);
1166 if (!result) {
1167 fprintf(stderr, "Value %llu is not in range [%llu, %llu]\n",
1168 (unsigned long long)(val), (unsigned long long)(low),
1169 (unsigned long long)(high));
1170 }
1171 return result;
1172}
1173
1174TEST(DBTest, ApproximateSizes) {
1175 do {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected