//////////////////////////////////////////////////////////////////////////
| 249 | |
| 250 | /////////////////////////////////////////////////////////////////////////////// |
| 251 | void UnitTest::diag(const std::string& text) { |
| 252 | auto start = text.find_first_not_of(" \t\n\r\f"); |
| 253 | auto end = text.find_last_not_of(" \t\n\r\f"); |
| 254 | if (start != std::string::npos && end != std::string::npos) |
| 255 | std::cout << "# " << text.substr(start, end - start + 1) << '\n'; |
| 256 | } |
| 257 | |
| 258 | /////////////////////////////////////////////////////////////////////////////// |
| 259 | void UnitTest::pass(const std::string& text) { |
no outgoing calls
no test coverage detected