MCPcopy Create free account
hub / github.com/apache/singa / Compare

Method Compare

test/gtest/gtest.h:18893–18899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18891 // This templatized version is for the general case.
18892 template <typename T1, typename T2>
18893 static AssertionResult Compare(const char* expected_expression,
18894 const char* actual_expression,
18895 const T1& expected,
18896 const T2& actual) {
18897 return CmpHelperEQ(expected_expression, actual_expression, expected,
18898 actual);
18899 }
18900
18901 // With this overloaded version, we allow anonymous enums to be used
18902 // in {ASSERT|EXPECT}_EQ when compiled with gcc 4, as anonymous

Callers

nothing calls this directly

Calls 1

CmpHelperEQFunction · 0.70

Tested by

no test coverage detected