MCPcopy Create free account
hub / github.com/apache/cloudberry / compareVector

Function compareVector

gpcontrib/gpcloud/test/s3restful_service_test.cpp:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 */
118template <typename T, typename A, typename B>
119bool compareVector(const vector<T, A>& a, const vector<T, B>& b) {
120 if (a.size() != b.size()) return false;
121
122 for (size_t i = 0; i < a.size(); i++) {
123 if (a[i] != b[i]) return false;
124 }
125
126 return true;
127}
128
129/* Run './bin/dummyHTTPServer.py' before enabling this test */
130TEST(S3RESTfulService, DISABLED_PutToDummyServer) {

Callers 1

TESTFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected