Searched refs:normalizeFloatingPointStr (Results 1 – 2 of 2) sorted by relevance
101 static std::string normalizeFloatingPointStr(const std::string& s);104 std::string ValueTest::normalizeFloatingPointStr(const std::string& s) { in normalizeFloatingPointStr() function in ValueTest125 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()[all …]
17 static std::string normalizeFloatingPointStr(double value) { in normalizeFloatingPointStr() function87 normalizeFloatingPointStr(value.asDouble()).c_str()); in printValueTree()