| 4 | using namespace ftg; |
| 5 | |
| 6 | TEST(GetParentDirectory, P) { |
| 7 | |
| 8 | EXPECT_EQ(util::getParentPath("/A/B"), "/A"); |
| 9 | EXPECT_EQ(util::getParentPath("A/B"), "A"); |
| 10 | EXPECT_EQ(util::getParentPath("A"), ""); |
| 11 | } |
| 12 | |
| 13 | TEST(GetParentDirectory, N) { |
| 14 |
nothing calls this directly
no test coverage detected