MCPcopy Create free account
hub / github.com/apache/trafficserver / TEST

Function TEST

lib/yamlcpp/test/node/node_test.cpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58namespace YAML {
59namespace {
60TEST(NodeTest, SimpleScalar) {
61 Node node = Node("Hello, World!");
62 EXPECT_TRUE(node.IsScalar());
63 EXPECT_EQ("Hello, World!", node.as<std::string>());
64}
65
66TEST(NodeTest, IntScalar) {
67 Node node = Node(15);

Callers

nothing calls this directly

Calls 12

isnanFunction · 0.85
CloneFunction · 0.85
StyleMethod · 0.80
NodeClass · 0.50
push_backMethod · 0.45
sizeMethod · 0.45
removeMethod · 0.45
strMethod · 0.45
force_insertMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
TypeMethod · 0.45

Tested by

no test coverage detected