LCOV - code coverage report
Current view: top level - source/tests - TestDistanceToBall2.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:   TestDistanceToBall2.h
       3             :  * Author: chung
       4             :  *
       5             :  * Created on Jan 14, 2016, 4:32:12 PM
       6             :  */
       7             : 
       8             : #ifndef TESTDISTANCETOBALL2_H
       9             : #define TESTDISTANCETOBALL2_H
      10             : 
      11             : #define FORBES_TEST_UTILS
      12             : #include "ForBES.h"
      13             : #include "DistanceToBall2.h"
      14             : #include <math.h>
      15             : 
      16             : #include <cppunit/extensions/HelperMacros.h>
      17             : 
      18             : class TestDistanceToBall2 : public CPPUNIT_NS::TestFixture {
      19           2 :     CPPUNIT_TEST_SUITE(TestDistanceToBall2);
      20             : 
      21           1 :     CPPUNIT_TEST(testCall);
      22           1 :     CPPUNIT_TEST(testCall2);
      23           1 :     CPPUNIT_TEST(testCall3);
      24           1 :     CPPUNIT_TEST(testCall4);
      25           1 :     CPPUNIT_TEST(testCall5);
      26           1 :     CPPUNIT_TEST(testGradient);
      27           1 :     CPPUNIT_TEST(testGradient2);
      28             : 
      29           5 :     CPPUNIT_TEST_SUITE_END();
      30             : 
      31             : public:
      32             :     TestDistanceToBall2();
      33             :     virtual ~TestDistanceToBall2();
      34             :     void setUp();
      35             :     void tearDown();
      36             : 
      37             : private:
      38             :     void testCall();
      39             :     void testCall2();
      40             :     void testCall3();
      41             :     void testCall4();
      42             :     void testCall5();
      43             :     void testGradient();
      44             :     void testGradient2();
      45             : 
      46             : };
      47             : 
      48             : #endif  /* TESTDISTANCETOBALL2_H */
      49             : 

Generated by: LCOV version 1.10