Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
516
template <class F>
517
static std::string capture_output(F f)
518
{
519
std::stringstream ss;
520
cout_redirect cr{ss};
521
f();
522
return ss.str();
523
}
524
525
TEST_CASE(debug_print_test)
526
{
Callers
1
TEST_CASE
Function · 0.85
Calls
1
str
Method · 0.45
Tested by
no test coverage detected