MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / sequences_are_not_equal

Function sequences_are_not_equal

tests/DCPS/MultiTopic/MultiTopicTest.cpp:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36typedef unsigned SeqLen;
37
38bool sequences_are_not_equal(const Airports& a, const Airports& b)
39{
40 const SeqLen len = a.length();
41 if (len != b.length()) {
42 return true;
43 }
44 for (SeqLen i = 0; i < len; ++i) {
45 if (strcmp(a[i], b[i])) {
46 return true;
47 }
48 }
49 return false;
50}
51
52class LocationInfoWrapper {
53public:

Callers 1

expect_sequenceFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected