fs::absolute, units, Makefile fixes
This commit is contained in:
1 parent
8eac1e7846
commit
ccbfdbb535
4 files changed
+20
-19
No files matched your search
@@ -77,6 +77,14 @@ TEST(PathFileName)
|
||||
ASSERT_EQUAL(fs::path(TestData::fs::sysPath).filename().string(), "sys");
|
||||
}
|
||||
|
||||
TEST(PathAbsolute)
|
||||
{
|
||||
ASSERT_EQUAL(fs::absolute(TestData::fs::emptyPath).string(), TestData::fs::emptyPath);
|
||||
ASSERT_EQUAL(fs::absolute(TestData::fs::calcPath).string(), TestData::fs::calcPath);
|
||||
ASSERT_EQUAL(fs::absolute(TestData::fs::calcFileName).string(), (fs::current_path() / TestData::fs::calcFileName).string());
|
||||
ASSERT_EQUAL(fs::absolute(TestData::fs::rootPath).string(), TestData::fs::rootPath);
|
||||
}
|
||||
|
||||
// just for cli output
|
||||
TEST(ScanDirectory)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user