32 #include <gtest/gtest.h> 80 EXPECT_EQ(uss.str(),
"1.2");
83 std::locale new_locale(std::locale::classic(), comma_float_facet);
85 std::locale old_locale = std::locale::global(new_locale);
90 EXPECT_EQ(ss.str(),
"3p4");
95 EXPECT_EQ(uss2.str(),
"3.4");
98 std::locale::global(old_locale);
101 int main(
int argc,
char** argv)
103 testing::InitGoogleTest(&argc, argv);
104 return RUN_ALL_TESTS();
char do_decimal_point() const override