| 63 | }; |
| 64 | |
| 65 | void require_span( |
| 66 | const engine::runtime::TimeSpan & span, |
| 67 | int64_t expected_start, |
| 68 | int64_t expected_end, |
| 69 | const std::string & label) { |
| 70 | engine::test::require_eq(span.start_sample, expected_start, label + " start"); |
| 71 | engine::test::require_eq(span.end_sample, expected_end, label + " end"); |
| 72 | } |
| 73 | |
| 74 | void require_throws(const std::function<void()> & fn, const std::string & label) { |
| 75 | bool threw = false; |
no test coverage detected