LCOV - code coverage report
Current view: top level - source/tests - TestOpDCT3.h (source / functions) Hit Total Coverage
Test: LibForBES Unit Tests Lines: 5 5 100.0 %
Date: 2016-04-18 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * File:   TestOpDCT3.h
       3             :  * Author: chung
       4             :  *
       5             :  * Created on Sep 16, 2015, 3:42:02 AM
       6             :  * 
       7             :  * ForBES is free software: you can redistribute it and/or modify
       8             :  * it under the terms of the GNU Lesser General Public License as published by
       9             :  * the Free Software Foundation, either version 3 of the License, or
      10             :  * (at your option) any later version.
      11             :  *  
      12             :  * ForBES is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      15             :  * GNU Lesser General Public License for more details.
      16             :  * 
      17             :  * You should have received a copy of the GNU Lesser General Public License
      18             :  * along with ForBES. If not, see <http://www.gnu.org/licenses/>.
      19             :  */
      20             : 
      21             : #ifndef TESTOPDCT3_H
      22             : #define TESTOPDCT3_H
      23             : #define FORBES_TEST_UTILS
      24             : 
      25             : #include "ForBES.h"
      26             : #include "OpDCT3.h"
      27             : 
      28             : #include <cppunit/extensions/HelperMacros.h>
      29             : 
      30             : class TestOpDCT3 : public CPPUNIT_NS::TestFixture {
      31           2 :     CPPUNIT_TEST_SUITE(TestOpDCT3);
      32             : 
      33           1 :     CPPUNIT_TEST(testCall);
      34           1 :     CPPUNIT_TEST(testLinearity);
      35           1 :     CPPUNIT_TEST(testAdjointLinearity);
      36             : 
      37           5 :     CPPUNIT_TEST_SUITE_END();
      38             : 
      39             : public:
      40             :     TestOpDCT3();
      41             :     virtual ~TestOpDCT3();
      42             :     void setUp();
      43             :     void tearDown();
      44             : 
      45             : private:
      46             :     void testCall();
      47             :     void testLinearity();
      48             :     void testAdjointLinearity();
      49             : 
      50             : };
      51             : 
      52             : #endif  /* TESTOPDCT3_H */
      53             : 

Generated by: LCOV version 1.10