ref: 1ddadc95b0b2688cb68f36b28e086230b5dcad49
parent: ec12c265e970b220b914587aaf7f26871860e538
author: Jerome Jiang <[email protected]>
date: Wed Nov 7 16:35:35 EST 2018
Add operator<< to hadamard test. This quiets valgrind warning. Change-Id: I7c5e23ebb91cc67cf93678135b826b2bc8e9db2f
--- a/test/hadamard_test.cc
+++ b/test/hadamard_test.cc
@@ -124,6 +124,10 @@
int block_size;
};
+std::ostream &operator<<(std::ostream &os, const HadamardFuncWithSize &hfs) {
+ return os << "block size: " << hfs.block_size;
+}
+
class HadamardTestBase : public ::testing::TestWithParam<HadamardFuncWithSize> {
public:
virtual void SetUp() {