| 11 | namespace { |
| 12 | |
| 13 | engine::runtime::WordTimestamp word(const std::string & text, int64_t start, int64_t end) { |
| 14 | engine::runtime::WordTimestamp out; |
| 15 | out.word = text; |
| 16 | out.span.start_sample = start; |
| 17 | out.span.end_sample = end; |
| 18 | out.confidence = 1.0F; |
| 19 | return out; |
| 20 | } |
| 21 | |
| 22 | void require_throws(const std::function<void()> & fn, const std::string & label) { |
| 23 | bool threw = false; |
no outgoing calls
no test coverage detected