MCPcopy Create free account
hub / github.com/boost-ext/ut / format_test_parameter

Function format_test_parameter

example/parameterized.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace {
20template <std::floating_point F>
21std::string format_test_parameter(const std::complex<F>& arg,
22 [[maybe_unused]] const int counter) {
23 std::ostringstream oss;
24 oss << arg.real() << '+' << arg.imag() << 'i';
25 return oss.str();
26}
27} // namespace
28
29} // namespace boost::inline ext::ut

Callers

nothing calls this directly

Calls 1

strMethod · 0.80

Tested by

no test coverage detected