]> ruin.nu Git - germs.git/blob - src/test/geneordertest.cpp
a bit nicer
[germs.git] / src / test / geneordertest.cpp
1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
3
4 #include <geneorder.h>
5
6 /* 
7  * A test case that is designed to produce
8  * example errors and failures.
9  *
10  */
11
12 #define TESTNAME GeneOrderTest
13
14
15 class TESTNAME : public CPPUNIT_NS::TestFixture
16 {
17   CPPUNIT_TEST_SUITE( TESTNAME );
18   CPPUNIT_TEST( testCreate );
19   CPPUNIT_TEST_SUITE_END();
20
21 protected:
22
23 public:
24
25         void setUp (){
26         }
27
28 protected:
29
30         void testCreate (){
31                 int test[] = {1,2,3,4};
32                 GeneOrder go(test,test+4);
33         }
34 };
35
36 CPPUNIT_TEST_SUITE_REGISTRATION( TESTNAME );
37
38 #undef TESTNAME