Last change
on this file since 91379c was 247d49, checked in by Frederik Heber <heber@…>, 16 years ago |
Wrapper class for gsl_linalg along with working Unit test.
Signed-off-by: Frederik Heber <heber@…>
|
-
Property mode
set to
100644
|
File size:
946 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * linearsystemofequationsunittest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Jan 8, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef LINEARSYSTEMOFEQUATIONSUNITTEST_HPP_
|
---|
9 | #define LINEARSYSTEMOFEQUATIONSUNITTEST_HPP_
|
---|
10 |
|
---|
11 | #include <cppunit/extensions/HelperMacros.h>
|
---|
12 |
|
---|
13 | #include "linearsystemofequations.hpp"
|
---|
14 |
|
---|
15 | /********************************************** Test classes **************************************/
|
---|
16 |
|
---|
17 | class LinearSystemOfEquationsTest : public CppUnit::TestFixture
|
---|
18 | {
|
---|
19 | CPPUNIT_TEST_SUITE( LinearSystemOfEquationsTest) ;
|
---|
20 | CPPUNIT_TEST ( InitializationTest );
|
---|
21 | CPPUNIT_TEST ( SymmetricTest );
|
---|
22 | CPPUNIT_TEST ( SolveSimpleTest );
|
---|
23 | CPPUNIT_TEST ( SolveAdvancedTest );
|
---|
24 | CPPUNIT_TEST_SUITE_END();
|
---|
25 |
|
---|
26 | public:
|
---|
27 | void setUp();
|
---|
28 | void tearDown();
|
---|
29 |
|
---|
30 | void InitializationTest();
|
---|
31 | void SymmetricTest();
|
---|
32 | void SolveSimpleTest();
|
---|
33 | void SolveAdvancedTest();
|
---|
34 |
|
---|
35 | private:
|
---|
36 | LinearSystemOfEquations *s;
|
---|
37 | };
|
---|
38 |
|
---|
39 |
|
---|
40 | #endif /* LINEARSYSTEMOFEQUATIONSUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.