MCPcopy Create free account
hub / github.com/boostorg/filesystem / check

Function check

test/path_test.cpp:91–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 std::string platform(BOOST_PLATFORM);
90
91 void check(const fs::path & source,
92 const std::string & expected, const char* file, int line)
93 {
94 if (source.string() == expected)
95 return;
96
97 std::cout << file
98 << '(' << line << "): source: \"" << source.string()
99 << "\" != expected: \"" << expected
100 << "\"" << std::endl;
101
102 ++::boost::detail::test_errors();
103 }
104
105 path p1("fe/fi/fo/fum");
106 path p2(p1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected