3 #include "gtest/gtest.h" 4 #include "gmock/gmock.h" 6 MATCHER_P(FloatNearPointwise, tol,
"Out of range")
8 return (std::get<0>(arg) > std::get<1>(arg) - tol && std::get<0>(arg) < std::get<1>(arg) + tol);
MATCHER_P(FloatNearPointwise, tol, "Out of range")