MCPcopy Create free account
hub / github.com/Gecode/gecode / write_output

Method write_output

test/test.cpp:385–389  ·  view source on GitHub ↗

Write a string to standard output, synchronized across all test runners

Source from the content-addressed store, hash-verified

383
384 /// Write a string to standard output, synchronized across all test runners
385 void write_output(std::string output) {
386 Gecode::Support::Lock lock(output_mutex);
387 std::cout << output;
388 std::cout.flush();
389 }
390 };
391
392 /**

Callers 1

runMethod · 0.80

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected