| 116 | |
| 117 | template <typename Duration> |
| 118 | void AssertDurationBetween(Duration d, double min_secs, double max_secs) { |
| 119 | auto seconds = std::chrono::duration_cast<std::chrono::duration<double>>(d); |
| 120 | ASSERT_GE(seconds.count(), min_secs); |
| 121 | ASSERT_LE(seconds.count(), max_secs); |
| 122 | } |
| 123 | |
| 124 | // Generic tests for FileSystem implementations. |
| 125 | // To use this class, subclass both from it and ::testing::Test, |
no test coverage detected