| 44 | }; |
| 45 | |
| 46 | bool OsInStr(const std::string& version) { |
| 47 | std::vector<std::string> systems = { |
| 48 | "BSD", "Linux", "Mac OS", "Windows", "Unknown OS" |
| 49 | }; |
| 50 | for (std::string os : systems) |
| 51 | if (version.find(os) != std::string::npos) |
| 52 | return true; |
| 53 | return false; |
| 54 | } |
| 55 | |
| 56 | BOOST_AUTO_TEST_CASE(platform_in_xtsubversion) |
| 57 | { |
no test coverage detected