#include "Test.h" #include "Pattern.h" #include "dsp/matrix_functions.h" class BinaryTestsQ7:public Client::Suite { public: BinaryTestsQ7(Testing::testID_t id); virtual void setUp(Testing::testID_t,std::vector& params,Client::PatternMgr *mgr); virtual void tearDown(Testing::testID_t,Client::PatternMgr *mgr); private: #include "BinaryTestsQ7_decl.h" Client::Pattern input1; Client::Pattern input2; Client::Pattern ref; Client::Pattern dims; Client::LocalPattern output; Client::LocalPattern tmp; /* Local copies of inputs since matrix instance in CMSIS-DSP are not using pointers to const. */ Client::LocalPattern a; Client::LocalPattern b; int nbr; int nbc; arm_matrix_instance_q7 in1; arm_matrix_instance_q7 in2; arm_matrix_instance_q7 out; };