MCPcopy Create free account
hub / github.com/apache/qpid-proton / assert_equal

Function assert_equal

cpp/src/test_bits.hpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42template <class T, class U>
43void assert_equal(const T& want, const U& got, const std::string& what) {
44 if (!(want == got))
45 throw fail(MSG(what << " " << want << " != " << got));
46}
47
48template <class T>
49inline void assert_equalish(T want, T got, T delta, const std::string& what)

Callers 15

test_sasl_anonymousMethod · 0.85
test_sasl_plain_urlMethod · 0.85
test_standardMethod · 0.85
test_validMethod · 0.85
test_shortcutMethod · 0.85
decode_dataMethod · 0.85
assert_nextMethod · 0.85
assert_array_nextMethod · 0.85
test_outcomesMethod · 0.85
test_namesMethod · 0.85

Calls 1

failClass · 0.85

Tested by

no test coverage detected