Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
Dgeometry_utils_test.cpp36 #define EXPECT_ANGLE_DIFF_EQ(expected, actual) \ macro
59 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(0.0f, 0.0f)); in TEST()
60 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(10000.0f, 10000.0f)); in TEST()
61 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(M_PI_F), in TEST()
63 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(M_PI_F / 6.0f), in TEST()
65 EXPECT_ANGLE_DIFF_EQ(ROUND_FLOAT_10000(M_PI_F / 2.0f), in TEST()
67 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(0.0f, M_PI_F * 1024.0f)); in TEST()
68 EXPECT_ANGLE_DIFF_EQ(0.0f, GeometryUtils::getAngleDiff(-M_PI_F, M_PI_F)); in TEST()