Contents:
Captures console output for test verification.
Public Functions
Start capturing output from both std::cout and std::cerr.
Stop capturing output and restore original streams.
The captured output as a string.