GoogleTest Fixture for blitz++ class with arguments in constructor
问题 I have got a question that is related to this one: GTest fixture when constructor takes parameters?. I that question I wanted to know how to set up a GTest fixture when the tested class takes a parameter for the constructor. I tried to replicate the answer for blitz++ instead of arma, and I fail. Any clues? The test class: #include <blitz/array.h> #include <vector> class TClass { private: std::vector<blitz::Array<double,2> * > mats; public: TClass(std::vector<blitz::Array<double,2> * > m_);