17 #include "my_config.h"
18 #include <gtest/gtest.h>
40 TEST(StringToULLTest, OverflowedNumber)
42 unsigned long long number;
44 const char * str=
"18446744073709551915";
45 number= my_strtoll10(str, 0, &error);
46 EXPECT_EQ(number, ULONGLONG_MAX);
47 EXPECT_EQ(error, MY_ERRNO_ERANGE);