MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / capture_output

Function capture_output

test/eval_test.cpp:517–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515
516template <class F>
517static std::string capture_output(F f)
518{
519 std::stringstream ss;
520 cout_redirect cr{ss};
521 f();
522 return ss.str();
523}
524
525TEST_CASE(debug_print_test)
526{

Callers 1

TEST_CASEFunction · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected