diff --git a/test/src/test_Path.cc b/test/src/test_Path.cc new file mode 100644 index 0000000..43f15b5 --- /dev/null +++ b/test/src/test_Path.cc @@ -0,0 +1,10 @@ +#include "gtest/gtest.h" +#include "jes/Path.h" + +using namespace jes; + +TEST(PathTest, construct_from_const_char_ptr) +{ + Path p("/a/b/c"); + EXPECT_EQ("/a/b/c", p.to_s()); +}