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

          Line data    Source code
       1             : /*
       2             :  * File:   TestIndPos.h
       3             :  * Author: Pantelis Sopasakis
       4             :  *
       5             :  * Created on Jan 12, 2016, 4:06:34 PM
       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 TESTINDPOS_H
      22             : #define TESTINDPOS_H
      23             : 
      24             : #include <cppunit/extensions/HelperMacros.h>
      25             : 
      26             : #define FORBES_TEST_UTILS
      27             : #include "ForBES.h"
      28             : #include "IndBox.h"
      29             : 
      30             : class TestIndPos : public CPPUNIT_NS::TestFixture {
      31           2 :     CPPUNIT_TEST_SUITE(TestIndPos);
      32             : 
      33           1 :     CPPUNIT_TEST(testCall1);
      34           1 :     CPPUNIT_TEST(testCall2);
      35           1 :     CPPUNIT_TEST(testCall3);
      36           1 :     CPPUNIT_TEST(testConjugate1);
      37           1 :     CPPUNIT_TEST(testConjugate2);
      38           1 :     CPPUNIT_TEST(testConjugate3);
      39           1 :     CPPUNIT_TEST(testProx1);
      40           1 :     CPPUNIT_TEST(testProx2);
      41           1 :     CPPUNIT_TEST(testProx3);
      42           1 :     CPPUNIT_TEST(testCategory);
      43             :     
      44             : 
      45           5 :     CPPUNIT_TEST_SUITE_END();
      46             : 
      47             : public:
      48             :     TestIndPos();
      49             :     virtual ~TestIndPos();
      50             :     void setUp();
      51             :     void tearDown();
      52             : 
      53             : private:
      54             :     void testCall1();
      55             :     void testCall2();
      56             :     void testCall3();
      57             :     void testConjugate1();
      58             :     void testConjugate2();
      59             :     void testConjugate3();
      60             :     void testProx1();
      61             :     void testProx2();
      62             :     void testProx3();
      63             :     void testCategory();
      64             :     
      65             : };
      66             : 
      67             : #endif  /* TESTINDPOS_H */
      68             : 

Generated by: LCOV version 1.10