LCOV - code coverage report
Current view: top level - source/tests - TestLDL.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:   TestLDL.h
       3             :  * Author: Pantelis Sopasakis
       4             :  *
       5             :  * Created on Aug 4, 2015, 8:18:33 PM
       6             :  */
       7             : 
       8             : #ifndef TESTLDL_H
       9             : #define TESTLDL_H
      10             : 
      11             : #define FORBES_TEST_UTILS
      12             : 
      13             : #include "ForBES.h"
      14             : #include "Matrix.h"
      15             : #include "MatrixFactory.h"
      16             : #include "LDLFactorization.h"
      17             : 
      18             : #include <cppunit/extensions/HelperMacros.h>
      19             : 
      20             : class TestLDL : public CPPUNIT_NS::TestFixture {
      21           2 :     CPPUNIT_TEST_SUITE(TestLDL);
      22             : 
      23           1 :     CPPUNIT_TEST(testSolveDense);
      24           1 :     CPPUNIT_TEST(testSolveSymmetric);
      25           1 :     CPPUNIT_TEST(testSolveSparse);
      26           1 :     CPPUNIT_TEST(testSolveSparse2);
      27             : 
      28           5 :     CPPUNIT_TEST_SUITE_END();
      29             : 
      30             : public:
      31             :     TestLDL();
      32             :     virtual ~TestLDL();
      33             :     void setUp();
      34             :     void tearDown();
      35             : 
      36             : private:
      37             :     void testSolveDense();
      38             :     void testSolveSymmetric();
      39             :     void testSolveSparse();
      40             :     void testSolveSparse2();
      41             : 
      42             : };
      43             : 
      44             : #endif  /* TESTLDL_H */

Generated by: LCOV version 1.10