//EXPECT_STREQ("ganquanfu" ,ch);//字符串比较 EXPECT_FLOAT_EQ(12.111, 12.1111); EXPECT_EQ(12.111, 12.111); }
EXPECT_EQ(9, StringUtils::SplitString("a,b,c,de,,,fg,,",",", varresults));EXPECT_STREQ("a", varresults.at(0).c_str());EXPECT_STREQ("b", varresults.at(1).c_str());EXPECT_STREQ("c", varresults.at(2).c_str());EXPECT_STREQ("de", varresults.at(3).c_str());EXPECT_...