TEST_F(CoreFixture, Path_RelativePathToFile) { path relPath = toPath("energyplus/5ZoneAirCooled/eplusout.sql"); path fullPath = resourcesPath() / relPath; EXPECT_EQ(toString(relPath),toString(relativePath(fullPath,resourcesPath()))); EXPECT_EQ("eplusout.sql",toString(relativePath(relPath,toPath("energyplus/5ZoneAirCooled/")))); }