Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dtest.cpp1335 bool FloatCompare(float a, float b) { return fabs(a - b) < 0.001; } in FloatCompare() function
1340 TEST_EQ(FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), in ValueTest()
1344 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\"0.0314159e+2\" }", "float"), in ValueTest()
1349 TEST_EQ(FloatCompare(TestValue<float>("{ Y:cos(rad(180)) }", "float"), -1), in ValueTest()
1547 FloatCompare(TestValue<float>("{ Y:0.0314159e+2 }", "float"), 3.14159f), in ValidFloatTest()
1550 TEST_EQ(FloatCompare(TestValue<float>("{ Y:\" 0.0314159e+2 \" }", "float"), in ValidFloatTest()