MCPcopy Create free account
hub / github.com/baidu/babylon / assert_eq

Method assert_eq

test/serialization/test_array.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18 template <typename T, size_t N>
19 void assert_eq(T (&left)[N], T (&right)[N]) {
20 for (size_t i = 0; i < N; ++i) {
21 ASSERT_EQ(left[i], right[i]);
22 }
23 }
24};
25
26template <typename T, size_t N>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected