src/base/str.test.cc
/*
 * str.cc's "to_number" function converts a string to a number. The function
 * will return false if this is not possible either because the string
 * represents a number out-of-range, or because the string cannot be parsed.
 */
str.cc's "to_number" function converts a string to a number. The function
will return false if this is not possible either because the string
represents a number out-of-range, or because the string cannot be parsed.
str . cc ' s " to_number " function converts a string to a number . The function will return false if this is not possible either because the string represents a number out - of - range or because the string cannot be parsed .
TEST(StrTest, ToNumber8BitInt)
{
    int8_t output;
    std::string input = "-128";
    EXPECT_TRUE(to_number(input, output));
    EXPECT_EQ(-128, output);
}
TEST ( StrTest , ToNumber8BitInt ) { int8_t output ; std :: string input = " " ; EXPECT_TRUE ( to_number ( input , output ) ) ; EXPECT_EQ ( -128 , output ) ; }
str.cc's "to_number" function converts a string to a number.
str . cc ' s " to_number " function converts a string to a number .