MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / test

Method test

tests/output.cpp:313–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311protected:
312 template <typename Fixed>
313 void test(const char* expected, Fixed value, int precision, std::ios::fmtflags flags = std::ios::fixed)
314 {
315 std::stringstream ss;
316 ss << std::setiosflags(flags) << std::setprecision(precision) << value;
317 EXPECT_EQ(expected, ss.str());
318 }
319};
320
321TEST_F(output_specific, type_limit)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected