1 #include "SupportQ31.h"
2 #include "Error.h"
3 
4 
test_copy_q31()5     void SupportQ31::test_copy_q31()
6     {
7 
8     }
9 
test_fill_q31()10     void SupportQ31::test_fill_q31()
11     {
12 
13     }
14 
test_q7_to_q31()15     void SupportQ31::test_q7_to_q31()
16     {
17 
18     }
19 
test_q15_to_q31()20     void SupportQ31::test_q15_to_q31()
21     {
22 
23     }
24 
setUp(Testing::testID_t id,std::vector<Testing::param_t> & params,Client::PatternMgr * mgr)25     void SupportQ31::setUp(Testing::testID_t id,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr)
26     {
27 
28 
29        std::vector<Testing::param_t>::iterator it = params.begin();
30        this->nbSamples = *it;
31 
32        output.create(this->nbSamples,SupportQ31::OUT_SAMPLES_Q31_ID,mgr);
33 
34        switch(id)
35        {
36            case TEST_COPY_Q31_1:
37            case TEST_FILL_Q31_2:
38              samples.reload(SupportQ31::SAMPLES_Q31_ID,mgr,this->nbSamples);
39              this->pSrc=samples.ptr();
40            break;
41 
42            case TEST_Q15_TO_Q31_3:
43              samplesQ15.reload(SupportQ31::SAMPLES_Q15_ID,mgr,this->nbSamples);
44              this->pSrcQ15=samplesQ15.ptr();
45            break;
46 
47            case TEST_Q7_TO_Q31_4:
48              samplesQ7.reload(SupportQ31::SAMPLES_Q7_ID,mgr,this->nbSamples);
49              this->pSrcQ7=samplesQ7.ptr();
50            break;
51 
52        }
53        this->pDst=output.ptr();
54 
55     }
56 
tearDown(Testing::testID_t id,Client::PatternMgr * mgr)57     void SupportQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr)
58     {
59     }
60