add initial Path unit tests

This commit is contained in:
Josh Holtrop 2014-06-18 20:07:15 -04:00
parent 28ed5a30a4
commit 3cd064bcb8

10
test/src/test_Path.cc Normal file
View File

@ -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());
}