Searched refs:MakeDoubleNumAsFloat (Results 1 – 1 of 1) sorted by relevance
12 float MakeDoubleNumAsFloat(const wchar_t* str) { in MakeDoubleNumAsFloat() function20 EXPECT_EQ(0.0, MakeDoubleNumAsFloat(L"")); in TEST()21 EXPECT_EQ(0.0, MakeDoubleNumAsFloat(L"0")); in TEST()22 EXPECT_EQ(0.0, MakeDoubleNumAsFloat(L"0.")); in TEST()23 EXPECT_EQ(0.0, MakeDoubleNumAsFloat(L"0.0")); in TEST()24 EXPECT_EQ(0.0, MakeDoubleNumAsFloat(L"0.x")); in TEST()25 EXPECT_EQ(7.0, MakeDoubleNumAsFloat(L"7.x")); in TEST()26 EXPECT_FLOAT_EQ(0.54321f, MakeDoubleNumAsFloat(L".54321")); in TEST()27 EXPECT_FLOAT_EQ(0.54321f, MakeDoubleNumAsFloat(L"0.54321")); in TEST()28 EXPECT_FLOAT_EQ(0.54321f, MakeDoubleNumAsFloat(L"+0.54321")); in TEST()[all …]