Home
last modified time | relevance | path

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

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dreadertest.cpp176 template<bool fullPrecision>
178 #define TEST_DOUBLE(fullPrecision, str, x) \ in TestParseDouble() argument
183 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code())… in TestParseDouble()
186 if (fullPrecision) { \ in TestParseDouble()
197 TEST_DOUBLE(fullPrecision, "0.0", 0.0); in TestParseDouble()
198 TEST_DOUBLE(fullPrecision, "-0.0", -0.0); // For checking issue #289 in TestParseDouble()
199 TEST_DOUBLE(fullPrecision, "1.0", 1.0); in TestParseDouble()
200 TEST_DOUBLE(fullPrecision, "-1.0", -1.0); in TestParseDouble()
201 TEST_DOUBLE(fullPrecision, "1.5", 1.5); in TestParseDouble()
202 TEST_DOUBLE(fullPrecision, "-1.5", -1.5); in TestParseDouble()
[all …]