Line data Source code
1 : /*
2 : * File: TestHingeLoss.h
3 : * Author: Pantelis Sopasakis
4 : *
5 : * Created on Oct 29, 2015, 11:36:49 PM
6 : *
7 : * ForBES is free software: you can redistribute it and/or modify
8 : * it under the terms of the GNU Lesser General Public License as published by
9 : * the Free Software Foundation, either version 3 of the License, or
10 : * (at your option) any later version.
11 : *
12 : * ForBES is distributed in the hope that it will be useful,
13 : * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 : * GNU Lesser General Public License for more details.
16 : *
17 : * You should have received a copy of the GNU Lesser General Public License
18 : * along with ForBES. If not, see <http://www.gnu.org/licenses/>.
19 : */
20 :
21 : #ifndef TESTHINGELOSS_H
22 : #define TESTHINGELOSS_H
23 :
24 : #define FORBES_TEST_UTILS
25 : #include "ForBES.h"
26 :
27 : #include <cppunit/extensions/HelperMacros.h>
28 :
29 : class TestHingeLoss : public CPPUNIT_NS::TestFixture {
30 2 : CPPUNIT_TEST_SUITE(TestHingeLoss);
31 :
32 1 : CPPUNIT_TEST(testCall);
33 1 : CPPUNIT_TEST(testCall2);
34 1 : CPPUNIT_TEST(testCallProx);
35 :
36 5 : CPPUNIT_TEST_SUITE_END();
37 :
38 : public:
39 : TestHingeLoss();
40 : virtual ~TestHingeLoss();
41 : void setUp();
42 : void tearDown();
43 :
44 : private:
45 : void testCall();
46 : void testCall2();
47 : void testCallProx();
48 :
49 : };
50 :
51 : #endif /* TESTHINGELOSS_H */
52 :
|