MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / testLeafname

Function testLeafname

tests/utils.cc:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void testLeafname()
51{
52 AssertThat(getLeafname(""), Equals(""));
53 AssertThat(getLeafname("filename"), Equals("filename"));
54 AssertThat(getLeafname("path/filename"), Equals("filename"));
55 AssertThat(getLeafname("/path/path/filename"), Equals("filename"));
56}
57
58static void testUnhex()
59{

Callers 1

mainFunction · 0.85

Calls 1

getLeafnameFunction · 0.85

Tested by

no test coverage detected