//////////////////////////////////////////////////////////////////////////
| 278 | |
| 279 | /////////////////////////////////////////////////////////////////////////////// |
| 280 | std::string UnitTest::red(const std::string& input) { |
| 281 | if (isatty(fileno(stdout))) return std::string("\033[31m" + input + "\033[0m"); |
| 282 | |
| 283 | return input; |
| 284 | } |
| 285 | |
| 286 | /////////////////////////////////////////////////////////////////////////////// |
| 287 | std::string UnitTest::green(const std::string& input) { |
nothing calls this directly
no outgoing calls
no test coverage detected