| 1691 | |
| 1692 | template <int comparison, typename L, typename R> |
| 1693 | DOCTEST_NOINLINE bool binary_assert(const DOCTEST_REF_WRAP(L) lhs, |
| 1694 | const DOCTEST_REF_WRAP(R) rhs) { |
| 1695 | m_failed = !RelationalComparator<comparison, L, R>()(lhs, rhs); |
| 1696 | if (m_failed || getContextOptions()->success) { |
| 1697 | m_decomp = stringifyBinaryExpr(lhs, ", ", rhs); |
| 1698 | } |
| 1699 | return !m_failed; |
| 1700 | } |
| 1701 | |
| 1702 | template <typename L> |
| 1703 | DOCTEST_NOINLINE bool unary_assert(const DOCTEST_REF_WRAP(L) val) { |
nothing calls this directly
no test coverage detected