catch.h 390 B

1234567891011121314
  1. // Minetest
  2. // SPDX-License-Identifier: LGPL-2.1-or-later
  3. // We want to have catch write to rawstream (stderr) instead of stdout.
  4. // This should be included instead of <catch_amalgamated.hpp>
  5. // to patch the output streams accordingly.
  6. #define CATCH_CONFIG_NOSTDOUT
  7. #include <catch_amalgamated.hpp>
  8. namespace Catch {
  9. std::ostream& cout();
  10. std::ostream& clog();
  11. std::ostream& cerr();
  12. }