Home
last modified time | relevance | path

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

/frameworks/native/libs/math/tests/
Dmat_test.cpp564 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() local
567 M44T m = M44T::eulerZYX(rand_gen(), rand_gen(), rand_gen()); in TYPED_TEST()
583 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() local
586 M33T m = M33T::eulerZYX(rand_gen(), rand_gen(), rand_gen()); in TYPED_TEST()
604 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() local
607 M44T r = M44T::eulerZYX(rand_gen(), rand_gen(), rand_gen()); in TYPED_TEST()
608 M44T t = M44T::translate(V4T(rand_gen(), rand_gen(), rand_gen(), 1)); in TYPED_TEST()
643 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() local
646 M33T r = M33T::eulerZYX(rand_gen(), rand_gen(), rand_gen()); in TYPED_TEST()
648 V3T p(rand_gen(), rand_gen(), rand_gen()); in TYPED_TEST()
[all …]
Dquat_test.cpp279 auto rand_gen = std::bind(distribution, generator); in TEST_F() local
282 double3 axis_a = normalize(double3(rand_gen(), rand_gen(), rand_gen())); in TEST_F()
283 double angle_a = rand_gen(); in TEST_F()
286 double3 axis_b = normalize(double3(rand_gen(), rand_gen(), rand_gen())); in TEST_F()
287 double angle_b = rand_gen(); in TEST_F()