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

          Line data    Source code
       1             : #ifndef TESTFBCACHE_H
       2             : #define TESTFBCACHE_H
       3             : 
       4             : #define FORBES_TEST_UTILS
       5             : 
       6             : #include "ForBES.h"
       7             : #include "ForBESUtils.h"
       8             : 
       9             : #include <cppunit/extensions/HelperMacros.h>
      10             : 
      11             : class TestFBCache : public CPPUNIT_NS::TestFixture {
      12           2 :     CPPUNIT_TEST_SUITE(TestFBCache);
      13             : 
      14           1 :     CPPUNIT_TEST(testNormFPR);
      15           1 :     CPPUNIT_TEST(testBoxQP_small);
      16           1 :     CPPUNIT_TEST(testSparseLeastSquares_small);
      17           1 :     CPPUNIT_TEST(testSparseLogReg_small);
      18           1 :     CPPUNIT_TEST(testLogLossPlusL1_small);
      19             :     
      20           5 :     CPPUNIT_TEST_SUITE_END();
      21             : 
      22             : public:
      23             :     TestFBCache();
      24             :     virtual ~TestFBCache();
      25             :     void setUp();
      26             :     void tearDown();
      27             : 
      28             : private:
      29             :     void testNormFPR();
      30             :     void testBoxQP_small();
      31             :     void testSparseLeastSquares_small();
      32             :     void testSparseLogReg_small();
      33             :     void testLogLossPlusL1_small();
      34             : };
      35             : 
      36             : #endif  /* TESTFBCACHE_H */
      37             : 

Generated by: LCOV version 1.10