Home
last modified time | relevance | path

Searched refs:FloatingEqMatcher (Results 1 – 5 of 5) sorted by relevance

/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h1355 class FloatingEqMatcher {
1363 FloatingEqMatcher(FloatType expected, bool nan_eq_nan) :
1370 FloatingEqMatcher(FloatType expected, bool nan_eq_nan,
1504 GTEST_DISALLOW_ASSIGN_(FloatingEqMatcher);
1553 FloatingEqMatcher<FloatType> fm(::std::get<0>(args), nan_eq_nan_);
1557 FloatingEqMatcher<FloatType> fm(::std::get<0>(args), nan_eq_nan_,
3628 inline internal::FloatingEqMatcher<double> DoubleEq(double rhs) {
3629 return internal::FloatingEqMatcher<double>(rhs, false);
3634 inline internal::FloatingEqMatcher<double> NanSensitiveDoubleEq(double rhs) {
3635 return internal::FloatingEqMatcher<double>(rhs, true);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h1888 class FloatingEqMatcher {
1896 FloatingEqMatcher(FloatType expected, bool nan_eq_nan) :
1903 FloatingEqMatcher(FloatType expected, bool nan_eq_nan,
2037 GTEST_DISALLOW_ASSIGN_(FloatingEqMatcher);
3831 inline internal::FloatingEqMatcher<double> DoubleEq(double rhs) {
3832 return internal::FloatingEqMatcher<double>(rhs, false);
3837 inline internal::FloatingEqMatcher<double> NanSensitiveDoubleEq(double rhs) {
3838 return internal::FloatingEqMatcher<double>(rhs, true);
3844 inline internal::FloatingEqMatcher<double> DoubleNear(
3846 return internal::FloatingEqMatcher<double>(rhs, false, max_abs_error);
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1558 class FloatingEqMatcher {
1564 FloatingEqMatcher(FloatType rhs, bool nan_eq_nan) : in FloatingEqMatcher() function
1650 GTEST_DISALLOW_ASSIGN_(FloatingEqMatcher);
2778 inline internal::FloatingEqMatcher<double> DoubleEq(double rhs) {
2779 return internal::FloatingEqMatcher<double>(rhs, false);
2784 inline internal::FloatingEqMatcher<double> NanSensitiveDoubleEq(double rhs) {
2785 return internal::FloatingEqMatcher<double>(rhs, true);
2790 inline internal::FloatingEqMatcher<float> FloatEq(float rhs) {
2791 return internal::FloatingEqMatcher<float>(rhs, false);
2796 inline internal::FloatingEqMatcher<float> NanSensitiveFloatEq(float rhs) {
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc128 using testing::internal::FloatingEqMatcher;
2585 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc87 using testing::internal::FloatingEqMatcher;
3236 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) { in TestMatches()
3318 testing::internal::FloatingEqMatcher<RawType> in TestNearMatches()