| 791 | } |
| 792 | |
| 793 | static bool SnappyCompressionSupported() { |
| 794 | std::string out; |
| 795 | Slice in = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"; |
| 796 | return port::Snappy_Compress(in.data(), in.size(), &out); |
| 797 | } |
| 798 | |
| 799 | TEST(TableTest, ApproximateOffsetOfCompressed) { |
| 800 | if (!SnappyCompressionSupported()) { |
no test coverage detected