add initial Path unit tests
This commit is contained in:
parent
28ed5a30a4
commit
3cd064bcb8
10
test/src/test_Path.cc
Normal file
10
test/src/test_Path.cc
Normal 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());
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user