44 const std::string& group_name =
"")
46 if (group_name.empty() && expected.
distance(actual) <= epsilon)
48 return ::testing::AssertionSuccess();
52 return ::testing::AssertionSuccess();
54 std::stringstream msg;
55 msg <<
" expected: " << expected <<
" actual: " << actual;
57 return ::testing::AssertionFailure() << msg.str();