//////////////////////////////////////////////////////////////////////////
| 285 | |
| 286 | /////////////////////////////////////////////////////////////////////////////// |
| 287 | std::string UnitTest::green(const std::string& input) { |
| 288 | if (isatty(fileno(stdout))) return std::string("\033[32m" + input + "\033[0m"); |
| 289 | |
| 290 | return input; |
| 291 | } |
| 292 | |
| 293 | /////////////////////////////////////////////////////////////////////////////// |
| 294 | std::string UnitTest::yellow(const std::string& input) { |
nothing calls this directly
no outgoing calls
no test coverage detected