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

          Line data    Source code
       1             : /*
       2             :  * File:   TestSumOfNorm2.h
       3             :  * Author: chung
       4             :  *
       5             :  * Created on Feb 29, 2016, 5:18:46 PM
       6             :  */
       7             : 
       8             : #ifndef TESTSUMOFNORM2_H
       9             : #define TESTSUMOFNORM2_H
      10             : 
      11             : #include <cppunit/extensions/HelperMacros.h>
      12             : 
      13             : #define FORBES_TEST_UTILS
      14             : #include "ForBES.h"
      15             : 
      16             : class TestSumOfNorm2 : public CPPUNIT_NS::TestFixture {
      17           2 :     CPPUNIT_TEST_SUITE(TestSumOfNorm2);
      18             : 
      19           1 :     CPPUNIT_TEST(testCall);
      20           1 :     CPPUNIT_TEST(testDualNorm);
      21           1 :     CPPUNIT_TEST(testProx);
      22           1 :     CPPUNIT_TEST(testFaultyDims);
      23           1 :     CPPUNIT_TEST(testFunAtProx);
      24           1 :     CPPUNIT_TEST(testVerification);
      25             : 
      26           5 :     CPPUNIT_TEST_SUITE_END();
      27             : 
      28             : public:
      29             :     TestSumOfNorm2();
      30             :     virtual ~TestSumOfNorm2();
      31             :     void setUp();
      32             :     void tearDown();
      33             : 
      34             : private:
      35             :     void testCall();
      36             :     void testDualNorm();
      37             :     void testProx();
      38             :     void testFunAtProx();
      39             :     void testFaultyDims();
      40             :     void testVerification();
      41             :     
      42             : };
      43             : 
      44             : #endif  /* TESTSUMOFNORM2_H */
      45             : 

Generated by: LCOV version 1.10