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

Function Between

src/leveldb/table/table_test.cc:752–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752static bool Between(uint64_t val, uint64_t low, uint64_t high) {
753 bool result = (val >= low) && (val <= high);
754 if (!result) {
755 fprintf(stderr, "Value %llu is not in range [%llu, %llu]\n",
756 (unsigned long long)(val), (unsigned long long)(low),
757 (unsigned long long)(high));
758 }
759 return result;
760}
761
762class TableTest {};
763

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected