Lines Matching refs:normalizeFloatingPointStr
101 static std::string normalizeFloatingPointStr(const std::string& s);
104 std::string ValueTest::normalizeFloatingPointStr(const std::string& s) { in normalizeFloatingPointStr() function in ValueTest
125 JSONTEST_ASSERT_STRING_EQUAL("0.0", normalizeFloatingPointStr("0.0")); in JSONTEST_FIXTURE()
126 JSONTEST_ASSERT_STRING_EQUAL("0e0", normalizeFloatingPointStr("0e0")); in JSONTEST_FIXTURE()
127 JSONTEST_ASSERT_STRING_EQUAL("1234.0", normalizeFloatingPointStr("1234.0")); in JSONTEST_FIXTURE()
129 normalizeFloatingPointStr("1234.0e0")); in JSONTEST_FIXTURE()
131 normalizeFloatingPointStr("1234.0e+0")); in JSONTEST_FIXTURE()
132 JSONTEST_ASSERT_STRING_EQUAL("1234e-1", normalizeFloatingPointStr("1234e-1")); in JSONTEST_FIXTURE()
133 JSONTEST_ASSERT_STRING_EQUAL("1234e10", normalizeFloatingPointStr("1234e10")); in JSONTEST_FIXTURE()
135 normalizeFloatingPointStr("1234e010")); in JSONTEST_FIXTURE()
137 normalizeFloatingPointStr("1234e+010")); in JSONTEST_FIXTURE()
139 normalizeFloatingPointStr("1234e-010")); in JSONTEST_FIXTURE()
141 normalizeFloatingPointStr("1234e+100")); in JSONTEST_FIXTURE()
143 normalizeFloatingPointStr("1234e-100")); in JSONTEST_FIXTURE()
145 normalizeFloatingPointStr("1234e+001")); in JSONTEST_FIXTURE()
614 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
855 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
930 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
978 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1025 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1069 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1159 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1187 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1217 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1221 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1227 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1233 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()
1239 normalizeFloatingPointStr(val.asString())); in JSONTEST_FIXTURE()