MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / TEST

Function TEST

tests/cplusplus/Util/TreeNode.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43typedef TreeNodePointer<string>::type StringTreePtr;
44
45TEST(TreeNode, createRoot) {
46 ASSERT_NO_THROW((IntTree::createRoot()));
47 ASSERT_NO_THROW((IntTree::createRoot(5)));
48 ASSERT_NO_THROW((StringTree::createRoot()));
49 ASSERT_NO_THROW((StringTree::createRoot("Value")));
50}
51
52TEST(TreeNode, RootInvariants) {
53 {

Callers

nothing calls this directly

Calls 7

getFullTreeFunction · 0.85
getNameMethod · 0.80
hasChildrenMethod · 0.80
numChildrenMethod · 0.80
valueMethod · 0.80
assertNodeCountMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected