Krzysztof Grobelny | 51f0fd5 | 2021-12-28 16:32:08 +0100 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "types/duration_types.hpp" | ||||
4 | |||||
5 | #include <gmock/gmock.h> | ||||
6 | |||||
7 | template <class Ratio> | ||||
8 | inline void PrintTo(const std::chrono::duration<uint64_t, Ratio>& o, | ||||
9 | std::ostream* os) | ||||
10 | { | ||||
11 | (*os) << std::chrono::duration_cast<Milliseconds>(o).count() << "us"; | ||||
12 | } |