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

          Line data    Source code
       1             : /*
       2             :  * File:   TestMatrixOperator.h
       3             :  * Author: Pantelis Sopasakis
       4             :  *
       5             :  * Created on Jul 24, 2015, 8:39:54 PM
       6             :  */
       7             : 
       8             : #ifndef TESTMATRIXOPERATOR_H
       9             : #define TESTMATRIXOPERATOR_H
      10             : 
      11             : #include <cppunit/extensions/HelperMacros.h>
      12             : #include "MatrixOperator.h"
      13             : #include "MatrixFactory.h"
      14             : #include <math.h>
      15             : 
      16             : #define FORBES_TEST_UTILS
      17             : #include "ForBES.h"
      18             : 
      19             : class TestMatrixOperator : public CPPUNIT_NS::TestFixture {
      20           2 :     CPPUNIT_TEST_SUITE(TestMatrixOperator);
      21             : 
      22           1 :     CPPUNIT_TEST(testCall);
      23           1 :     CPPUNIT_TEST(testCall2);
      24           1 :     CPPUNIT_TEST(testCallId);
      25           1 :     CPPUNIT_TEST(testCallAdjoint);
      26             : 
      27           5 :     CPPUNIT_TEST_SUITE_END();
      28             : 
      29             : public:
      30             :     TestMatrixOperator();
      31             :     virtual ~TestMatrixOperator();
      32             :     void setUp();
      33             :     void tearDown();
      34             : 
      35             : private:
      36             :     void testCall();
      37             :     void testCall2();
      38             :     void testCallId();
      39             :     void testCallAdjoint();
      40             :     
      41             : };
      42             : 
      43             : #endif  /* TESTMATRIXOPERATOR_H */

Generated by: LCOV version 1.10