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

Function TEST

test/unit/ConfigTest.cpp:43–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41using namespace pdal::Config;
42
43TEST(ConfigTest, test_version)
44{
45 // just verify these functions can be called, don't worry about the values
46
47 std::string version = versionString();
48 EXPECT_TRUE(!version.empty());
49 std::string fullVersion = fullVersionString();
50 EXPECT_TRUE(!fullVersion.empty());
51
52 int major = versionMajor();
53 EXPECT_TRUE(major >= 0);
54 int minor = versionMinor();
55 EXPECT_TRUE(minor >= 0);
56 int patch = versionPatch();
57 EXPECT_TRUE(patch >= 0);
58
59 int bignum = versionInteger();
60 EXPECT_TRUE(bignum > 0);
61}

Callers

nothing calls this directly

Calls 7

versionStringFunction · 0.85
fullVersionStringFunction · 0.85
versionMajorFunction · 0.85
versionMinorFunction · 0.85
versionPatchFunction · 0.85
versionIntegerFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected