LCOV - code coverage report
Current view: top level - source/tests - TestQuadraticLoss.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:   TestQuadraticLoss.h
       3             :  * Author: chung
       4             :  *
       5             :  * Created on Oct 29, 2015, 7:32:54 PM
       6             :  */
       7             : 
       8             : #ifndef TESTQUADRATICLOSS_H
       9             : #define TESTQUADRATICLOSS_H
      10             : 
      11             : #define FORBES_TEST_UTILS
      12             : #include "ForBES.h"
      13             : 
      14             : #include <cppunit/extensions/HelperMacros.h>
      15             : 
      16             : class TestQuadraticLoss : public CPPUNIT_NS::TestFixture {
      17           2 :     CPPUNIT_TEST_SUITE(TestQuadraticLoss);
      18             : 
      19           1 :     CPPUNIT_TEST(testCall);
      20           1 :     CPPUNIT_TEST(testCallConj);
      21           1 :     CPPUNIT_TEST(testCategory);
      22             : 
      23           5 :     CPPUNIT_TEST_SUITE_END();
      24             : 
      25             : public:
      26             :     TestQuadraticLoss();
      27             :     virtual ~TestQuadraticLoss();
      28             :     void setUp();
      29             :     void tearDown();
      30             : 
      31             : private:
      32             :     void testCall();
      33             :     void testCallConj();
      34             :     void testCategory();
      35             : 
      36             : };
      37             : 
      38             : #endif  /* TESTQUADRATICLOSS_H */
      39             : 

Generated by: LCOV version 1.10