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

          Line data    Source code
       1             : /*
       2             :  * File:   TestFunctionOntologyRegistry.h
       3             :  * Author: chung
       4             :  *
       5             :  * Created on Nov 2, 2015, 12:21:37 AM
       6             :  */
       7             : 
       8             : #ifndef TESTFUNCTIONONTOLOGYREGISTRY_H
       9             : #define TESTFUNCTIONONTOLOGYREGISTRY_H
      10             : 
      11             : #define FORBES_TEST_UTILS
      12             : #include "ForBES.h"
      13             : 
      14             : #include <cppunit/extensions/HelperMacros.h>
      15             : 
      16             : class TestFunctionOntologyRegistry : public CPPUNIT_NS::TestFixture {
      17           2 :     CPPUNIT_TEST_SUITE(TestFunctionOntologyRegistry);
      18             : 
      19           1 :     CPPUNIT_TEST(testDistance);
      20           1 :     CPPUNIT_TEST(testFunction);
      21           1 :     CPPUNIT_TEST(testIndicator);
      22           1 :     CPPUNIT_TEST(testLoss);
      23           1 :     CPPUNIT_TEST(testNameSpace);
      24           1 :     CPPUNIT_TEST(testNorm);
      25           1 :     CPPUNIT_TEST(testQuadratic);
      26             : 
      27           5 :     CPPUNIT_TEST_SUITE_END();
      28             : 
      29             : public:
      30             :     TestFunctionOntologyRegistry();
      31             :     virtual ~TestFunctionOntologyRegistry();
      32             :     void setUp();
      33             :     void tearDown();
      34             : 
      35             : private:
      36             :     void testDistance();
      37             :     void testFunction();
      38             :     void testIndicator();
      39             :     void testLoss();
      40             :     void testNameSpace();
      41             :     void testNorm();
      42             :     void testQuadratic();
      43             : 
      44             : };
      45             : 
      46             : #endif  /* TESTFUNCTIONONTOLOGYREGISTRY_H */
      47             : 

Generated by: LCOV version 1.10