MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / TEST

Function TEST

src/utilities/core/test/Compare_GTest.cpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25using std::shared_ptr;
26
27TEST(Compare, istringEqual) {
28 LOG_FREE(Info, "Compare", "Entering istringEqual")
29
30 // make sure insensitive string compare works
31 EXPECT_TRUE(istringEqual("lorem ipsum", "lorem ipsum"));
32 EXPECT_TRUE(istringEqual("lorem ipsum", "LOREM IPSUM"));
33 EXPECT_TRUE(istringEqual("lorem ipsum", "lOrEm IpsUm"));
34 EXPECT_TRUE(istringEqual("lorem ipsum", "LoReM iPSuM"));
35 EXPECT_FALSE(istringEqual("lorem ipsum", "dolor sit amet"));
36
37 LOG_FREE(Info, "Compare", "Leaving istringEqual")
38}
39
40TEST(Compare, istringEqualMixed) {
41 LOG_FREE(Info, "Compare", "Entering istringEqualMixed")

Callers

nothing calls this directly

Calls 15

istringEqualFunction · 0.85
checkPtrVecEqualFunction · 0.85
firstOfPairEqualFunction · 0.85
secondOfPairEqualFunction · 0.85
majorMethod · 0.80
minorMethod · 0.80
patchMethod · 0.80
patchStringMethod · 0.80
buildStringMethod · 0.80
VersionStringClass · 0.50
insertMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected