From 3cd064bcb8cf0b05862af4a106e600d0936048c7 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 18 Jun 2014 20:07:15 -0400 Subject: [PATCH] add initial Path unit tests --- test/src/test_Path.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/src/test_Path.cc 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()); +}