COPASI API  4.16.103
test000086.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000086.h,v $
3 // $Revision: 1.1 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2009/05/11 13:36:31 $
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_000086_H__
15 #define TEST_000086_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 /**
23  * Test for 0D compartment unit import and export.
24  */
25 
26 class CCopasiDataModel;
27 
28 class test000086 : public CppUnit::TestFixture
29 {
43 
44 protected:
45  // models for import test
46 
47  // L2V1 model with no global length unit
48  // and local unit length
49  static const char* MODEL_STRING1;
50  // L2V1 model with no global length unit
51  // and local unit m
52  static const char* MODEL_STRING2;
53  // L2V1 model with no global length unit
54  // and no local length unit
55  static const char* MODEL_STRING3;
56  // L2V1 model with no global length unit
57  // and a local length unit of "volume"
58  static const char* MODEL_STRING4;
59  // L2V1 model with no global length unit
60  // and a local length unit of "area"
61  static const char* MODEL_STRING5;
62  // L2V1 model with no global length unit
63  // and a local length unit of "dimensionless"
64  static const char* MODEL_STRING6;
65  // L2V1 model with no global length unit
66  // and a local length unit of "m^2"
67  static const char* MODEL_STRING7;
68  // L2V1 model with no global length unit
69  // and a local length unit of "dimensionless"
70  static const char* MODEL_STRING8;
71  // L2V1 model with no global length unit
72  // and a local length unit of "mole"
73  static const char* MODEL_STRING9;
74  // L2V1 model with no global length unit
75  // and a local length unit of "substance"
76  static const char* MODEL_STRING10;
77  // L2V1 model with two compartments
78  // one has no unit set, the other uses dimensionless
79  static const char* MODEL_STRING11;
80 
82 
83 public:
84  void setUp();
85 
86  void tearDown();
87 
99 };
100 
101 #endif /* TEST000086_H__ */
CPPUNIT_TEST_SUITE(test000086)
void test_import_compartment_units_5()
Definition: test000086.cpp:253
void setUp()
Definition: test000086.cpp:36
void test_import_compartment_units_10()
Definition: test000086.cpp:480
void test_import_compartment_units_8()
Definition: test000086.cpp:378
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000086.h:81
static const char * MODEL_STRING1
Definition: test000086.h:49
void test_import_compartment_units_3()
Definition: test000086.cpp:151
static const char * MODEL_STRING3
Definition: test000086.h:55
static const char * MODEL_STRING11
Definition: test000086.h:79
CPPUNIT_TEST_SUITE_END()
static const char * MODEL_STRING9
Definition: test000086.h:73
void test_import_compartment_units_1()
Definition: test000086.cpp:49
void test_import_compartment_units_7()
Definition: test000086.cpp:327
static const char * MODEL_STRING8
Definition: test000086.h:70
void test_import_compartment_units_4()
Definition: test000086.cpp:202
static const char * MODEL_STRING4
Definition: test000086.h:58
static const char * MODEL_STRING2
Definition: test000086.h:52
void test_import_compartment_units_6()
Definition: test000086.cpp:304
CPPUNIT_TEST(test_import_compartment_units_1)
static const char * MODEL_STRING6
Definition: test000086.h:64
static const char * MODEL_STRING5
Definition: test000086.h:61
void test_import_compartment_units_2()
Definition: test000086.cpp:100
void test_import_compartment_units_11()
Definition: test000086.cpp:531
void test_import_compartment_units_9()
Definition: test000086.cpp:429
void tearDown()
Definition: test000086.cpp:44
static const char * MODEL_STRING10
Definition: test000086.h:76
static const char * MODEL_STRING7
Definition: test000086.h:67