Definition at line 37 of file TestEntropy.h. References Impala::Core::Histogram::Entropy(). 00038 { 00039 int data[3] = {1, 2, 3}; 00040 int dataPadded[7] = {1, 2, 3, 0, 0, 0 ,0}; 00041 Histogram1dTem<int> hist(0, 1, 3, 0, data); 00042 Histogram1dTem<int> histPadded(0, 1, 7, 0, dataPadded); 00043 CPPUNIT_ASSERT_EQUAL(Entropy(&hist), Entropy(&histPadded)); 00044 }
Here is the call graph for this function:
|