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

Function print_sequence

tests/DCPS/MultiTopic/MultiTopicTest.cpp:257–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256template <typename T>
257void print_sequence(std::ostream& os, const T& seq) {
258 for (SeqLen i = 0; i < get_sequence_length(seq); ++i) {
259 if (i) {
260 os << ", ";
261 }
262 os << seq[i];
263 }
264}
265
266template <typename T>
267bool expect(const char* what, const T& expected, const T& result)

Callers 2

expect_sequenceFunction · 0.85
run_multitopic_testFunction · 0.85

Calls 1

get_sequence_lengthFunction · 0.85

Tested by

no test coverage detected