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

Function initial_tests

test/operations_test.cpp:2594–2605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2592// initial_tests -------------------------------------------------------------------//
2593
2594void initial_tests()
2595{
2596 cout << "initial_tests..." << endl;
2597
2598 cout << " current_path().string() is\n \""
2599 << fs::initial_path().string()
2600 << "\"\n\n";
2601 BOOST_TEST(fs::initial_path() == fs::current_path());
2602 BOOST_TEST(fs::initial_path().is_absolute());
2603 BOOST_TEST(fs::current_path().is_absolute());
2604 BOOST_TEST_EQ(fs::initial_path().string(), fs::current_path().string());
2605}
2606
2607// space_tests ---------------------------------------------------------------------//
2608

Callers 1

cpp_mainFunction · 0.85

Calls 4

stringMethod · 0.80
is_absoluteMethod · 0.80
initial_pathFunction · 0.50
current_pathFunction · 0.50

Tested by

no test coverage detected