Searched refs:TerminatedDoubleToString (Results 1 – 1 of 1) sorted by relevance
/external/pdfium/core/fxcrt/ |
D | fx_string_unittest.cpp | 16 char* TerminatedDoubleToString(double value, char* buf) { in TerminatedDoubleToString() function 204 EXPECT_STREQ("0", TerminatedDoubleToString(0.0f, buf)); in TEST() 205 EXPECT_STREQ("0", TerminatedDoubleToString(-0.0f, buf)); in TEST() 207 "0", TerminatedDoubleToString(std::numeric_limits<double>::min(), buf)); in TEST() 209 "0", TerminatedDoubleToString(-std::numeric_limits<double>::min(), buf)); in TEST() 211 EXPECT_STREQ("0.25", TerminatedDoubleToString(0.25f, buf)); in TEST() 212 EXPECT_STREQ("-0.25", TerminatedDoubleToString(-0.25f, buf)); in TEST() 214 EXPECT_STREQ("100", TerminatedDoubleToString(100.0f, buf)); in TEST() 215 EXPECT_STREQ("-100", TerminatedDoubleToString(-100.0f, buf)); in TEST() 219 EXPECT_STREQ("2147483647", TerminatedDoubleToString(2147483647.0f, buf)); in TEST() [all …]
|