MCPcopy Create free account
hub / github.com/PDAL/PDAL / TEST

Function TEST

test/unit/OptionsTest.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52{
53
54TEST(OptionsTest, test_option_writing)
55{
56 const Option option_i("my_int", (uint16_t)17);
57 EXPECT_TRUE(option_i.getName() == "my_int");
58 EXPECT_TRUE(option_i.getValue() == "17");
59
60 const Option option_s("my_string", "Yow.");
61 EXPECT_TRUE(option_s.getName() == "my_string");
62 EXPECT_TRUE(option_s.getValue() == "Yow.");
63 EXPECT_TRUE(option_s.getValue() == "Yow.");
64}
65
66
67TEST(OptionsTest, json)

Callers

nothing calls this directly

Calls 15

nameValidFunction · 0.85
toJSONFunction · 0.85
getValueMethod · 0.80
setOptionsMethod · 0.80
addConditionalOptionsMethod · 0.80
getOptionsMethod · 0.80
toCommandLineMethod · 0.80
strMethod · 0.80
parseFunction · 0.50
getNameMethod · 0.45
addMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected