#include TEST(DataTopicSmokeGTest, Format) { char buf[64]; snprintf(buf, sizeof(buf), "%d-%s", 42, "abc"); EXPECT_STREQ(buf, "42-abc"); }