Lines Matching refs:ScalarGetValue
240 template <typename T> static std::string ScalarGetValue(T value) { in ScalarGetValue() function
247 EXPECT_EQ("12345", ScalarGetValue<signed short>(12345)); in TEST()
248 EXPECT_EQ("-12345", ScalarGetValue<signed short>(-12345)); in TEST()
249 EXPECT_EQ("12345", ScalarGetValue<unsigned short>(12345)); in TEST()
251 ScalarGetValue(std::numeric_limits<unsigned short>::max())); in TEST()
253 EXPECT_EQ("12345", ScalarGetValue<signed int>(12345)); in TEST()
254 EXPECT_EQ("-12345", ScalarGetValue<signed int>(-12345)); in TEST()
255 EXPECT_EQ("12345", ScalarGetValue<unsigned int>(12345)); in TEST()
257 ScalarGetValue(std::numeric_limits<unsigned int>::max())); in TEST()
259 EXPECT_EQ("12345678", ScalarGetValue<signed long>(12345678L)); in TEST()
260 EXPECT_EQ("-12345678", ScalarGetValue<signed long>(-12345678L)); in TEST()
261 EXPECT_EQ("12345678", ScalarGetValue<unsigned long>(12345678UL)); in TEST()
263 ScalarGetValue(std::numeric_limits<unsigned long>::max())); in TEST()
265 EXPECT_EQ("1234567890123", ScalarGetValue<signed long long>(1234567890123LL)); in TEST()
267 ScalarGetValue<signed long long>(-1234567890123LL)); in TEST()
269 ScalarGetValue<unsigned long long>(1234567890123ULL)); in TEST()
271 ScalarGetValue(std::numeric_limits<unsigned long long>::max())); in TEST()