| 8 | namespace engine::test { |
| 9 | |
| 10 | inline void require(bool condition, const std::string & message) { |
| 11 | if (!condition) { |
| 12 | throw std::runtime_error(message); |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | template <typename T, typename U> |
| 17 | void require_eq(const T & actual, const U & expected, const std::string & label) { |
no outgoing calls
no test coverage detected