Home
last modified time | relevance | path

Searched refs:value_eps (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/math/tests/
Dmat_test.cpp543 static constexpr T value_eps = T(100) * std::numeric_limits<T>::epsilon(); in verifyOrthonormal() local
549 ASSERT_NEAR(prod[i][j], T(1), value_eps); in verifyOrthonormal()
551 ASSERT_NEAR(prod[i][j], T(0), value_eps); in verifyOrthonormal()
634 static constexpr TypeParam value_eps = in TYPED_TEST() local
653 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
654 ASSERT_NEAR(pr.y, pq.y, value_eps); in TYPED_TEST()
655 ASSERT_NEAR(pr.z, pq.z, value_eps); in TYPED_TEST()
662 static constexpr TypeParam value_eps = in TYPED_TEST() local
685 ASSERT_NEAR(pr.x, pq.x, value_eps); in TYPED_TEST()
686 ASSERT_NEAR(pr.y, pq.y, value_eps); in TYPED_TEST()
[all …]
Dquat_test.cpp275 static constexpr double value_eps = double(1000) * std::numeric_limits<double>::epsilon(); in TEST_F() local
294 ASSERT_NEAR(ab.x, ab_other.x, value_eps); in TEST_F()
295 ASSERT_NEAR(ab.y, ab_other.y, value_eps); in TEST_F()
296 ASSERT_NEAR(ab.z, ab_other.z, value_eps); in TEST_F()
297 ASSERT_NEAR(ab.w, ab_other.w, value_eps); in TEST_F()