COPASI API  4.16.103
test000077.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000077.h,v $
3 // $Revision: 1.3 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2009/07/01 15:50:02 $
7 // End CVS Header
8 
9 // Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
10 // Properties, Inc., EML Research, gGmbH, University of Heidelberg,
11 // and The University of Manchester.
12 // All rights reserved.
13 
14 #ifndef TEST_000077_H__
15 #define TEST_000077_H__
16 
17 #include <cppunit/TestFixture.h>
18 #include <cppunit/TestSuite.h>
19 #include <cppunit/TestResult.h>
20 #include <cppunit/extensions/HelperMacros.h>
21 
22 // Bug 1129
23 // Test import and export of dimensionless units
24 
25 class CCopasiDataModel;
26 
27 class test000077 : public CppUnit::TestFixture
28 {
30  // correct dimensionless model
32 
33  // correct dimensionless model, but with multipliers and scales
35 
36  // incorrect volume unit
38 
39  // incorrect time unit
41 
42  // incorrect quantity unit
44 
45  // test for export of dimensionless
48 
49 protected:
51  static const char* MODEL_STRING1;
52  static const char* MODEL_STRING2;
53  static const char* MODEL_STRING3;
54  static const char* MODEL_STRING4;
55  static const char* MODEL_STRING5;
56  static const char* MODEL_STRING6;
57 
58 public:
59  void setUp();
60 
61  void tearDown();
62 
69 };
70 
71 #endif /* TEST000077_H__ */
void test_import_dimensionless_1()
Definition: test000077.cpp:50
static const char * MODEL_STRING3
Definition: test000077.h:53
void test_import_dimensionless_3()
Definition: test000077.cpp:90
CPPUNIT_TEST(test_import_dimensionless_1)
static const char * MODEL_STRING6
Definition: test000077.h:56
CPPUNIT_TEST_SUITE_END()
void test_export_dimensionless()
Definition: test000077.cpp:189
void test_import_dimensionless_5()
Definition: test000077.cpp:156
void test_import_dimensionless_4()
Definition: test000077.cpp:123
static const char * MODEL_STRING1
Definition: test000077.h:51
static const char * MODEL_STRING5
Definition: test000077.h:55
void test_import_dimensionless_2()
Definition: test000077.cpp:70
static const char * MODEL_STRING4
Definition: test000077.h:54
void setUp()
Definition: test000077.cpp:37
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000077.h:50
void tearDown()
Definition: test000077.cpp:45
static const char * MODEL_STRING2
Definition: test000077.h:52
CPPUNIT_TEST_SUITE(test000077)