1 #include "StatsF64.h"
2 #include <stdio.h>
3 #include "Error.h"
4 #include "Test.h"
5 
6 
7 
test_entropy_f64()8     void StatsF64::test_entropy_f64()
9     {
10       (void)arm_entropy_f64(inap,this->nb);
11 
12 
13     }
14 
15 
16 
test_kullback_leibler_f64()17     void StatsF64::test_kullback_leibler_f64()
18     {
19 
20 
21       (void)arm_kullback_leibler_f64(inap,inbp,this->nb);
22 
23     }
24 
25 
26 
setUp(Testing::testID_t id,std::vector<Testing::param_t> & paramsArgs,Client::PatternMgr * mgr)27     void StatsF64::setUp(Testing::testID_t id,std::vector<Testing::param_t>& paramsArgs,Client::PatternMgr *mgr)
28     {
29         std::vector<Testing::param_t>::iterator it = paramsArgs.begin();
30         this->nb = *it;
31 
32         inputA.reload(StatsF64::INPUT1_F64_ID,mgr,this->nb);
33 
34         inap=inputA.ptr();
35 
36         switch(id)
37         {
38           case TEST_KULLBACK_LEIBLER_F64_2:
39             inputB.reload(StatsF64::INPUT2_F64_ID,mgr,this->nb);
40 
41             inbp=inputB.ptr();
42           break;
43 
44 
45 
46         }
47 
48     }
49 
tearDown(Testing::testID_t id,Client::PatternMgr * mgr)50     void StatsF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr)
51     {
52       (void)id;
53 
54     }
55