MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / TEST_METHOD

Function TEST_METHOD

DAEValidator/tests/src/PathUtilTests.cpp:22–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 TEST_METHOD(Join)
23 {
24 string a("a");
25 string b("b");
26
27 Assert::AreEqual(
28 Path::Join(a, b),
29 a + Path::Separator() + b
30 );
31
32 string a_anti_slash("a\\");
33
34 Assert::AreEqual(
35 Path::Join(a_anti_slash, b),
36 a_anti_slash + b
37 );
38 }
39
40 TEST_METHOD(IsDirectory)
41 {

Callers

nothing calls this directly

Calls 3

data_pathFunction · 0.85
stringClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected