Ad
  • Default User Avatar

    So what about ostringstream? It's basically the same. You can define it in Preloaded and clear, check, print, whatever in the tests.

  • Default User Avatar

    I don't think so, especially considering that testing results are printed to cout. But why do you want cout specifically? You can create a different string or file stream.