| 1162 | } |
| 1163 | |
| 1164 | static 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 | |
| 1174 | TEST(DBTest, ApproximateSizes) { |
| 1175 | do { |