| 7 | namespace ValdiTest { |
| 8 | |
| 9 | TEST(PathUtils, isAbsolutePathAcceptance) { |
| 10 | ASSERT_EQ(Path("/").isAbsolute(), true); |
| 11 | ASSERT_EQ(Path("").isAbsolute(), false); |
| 12 | ASSERT_EQ(Path("/test/dir").isAbsolute(), true); |
| 13 | ASSERT_EQ(Path("test/dir").isAbsolute(), false); |
| 14 | } |
| 15 | |
| 16 | TEST(PathUtils, normalizePathAcceptance) { |
| 17 | ASSERT_EQ(Path("").normalize().toString(), ""); |
nothing calls this directly
no test coverage detected