COPASI API  4.16.103
test000083.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000083.h,v $
3 // $Revision: 1.1 $
4 // $Name: $
5 // $Author: gauges $
6 // $Date: 2009/05/08 15:54:06 $
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_000083_H__
15 #define TEST_000083_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 3D compartment unit import and export.
24  */
25 
26 class CCopasiDataModel;
27 
28 class test000083 : public CppUnit::TestFixture
29 {
53 
54 protected:
55  // models for import test
56 
57  // L2V1 model with global volume unit "nl"
58  static const char* MODEL_STRING1;
59  // L2V1 model with global volume unit "10e-4*l"
60  static const char* MODEL_STRING2;
61  // L2V1 model with global volume unit "mole"
62  static const char* MODEL_STRING3;
63  // L2V1 model with global volume unit "nl"
64  // and local unit ml
65  static const char* MODEL_STRING4;
66  // L2V1 model with global volume unit "nl"
67  // and local unit mole
68  static const char* MODEL_STRING5;
69  // L2V1 model with global volume unit "mole"
70  // and local unit nl
71  static const char* MODEL_STRING6;
72  // L2V1 model with no global volume unit
73  // and local unit nl
74  static const char* MODEL_STRING7;
75  // L2V1 model with no global volume unit
76  // and local unit volume
77  static const char* MODEL_STRING8;
78  // L2V1 model with no global volume unit
79  // and local unit litre
80  static const char* MODEL_STRING9;
81  // L2V1 model with no global volume unit
82  // and no local volume unit
83  static const char* MODEL_STRING10;
84  // L2V1 model with no global volume unit
85  // and a local volume unit of "area"
86  static const char* MODEL_STRING11;
87  // L2V1 model with no global volume unit
88  // and a local volume unit of "length"
89  static const char* MODEL_STRING12;
90  // L2V1 model with no global volume unit
91  // and a local volume unit of "dimensionless"
92  static const char* MODEL_STRING13;
93  // L2V1 model with no global volume unit
94  // and a local volume unit of "m^2"
95  static const char* MODEL_STRING14;
96  // L2V1 model with no global volume unit
97  // and a local volume unit of "m"
98  static const char* MODEL_STRING15;
99  // L2V1 model with no global volume unit
100  // and a local volume unit of "mole"
101  static const char* MODEL_STRING16;
102  // L2V1 model with no global volume unit
103  // and a local volume unit of "substance"
104  static const char* MODEL_STRING17;
105  // L2V1 model with two compartments
106  // one has no unit set, the other uses volume
107  static const char* MODEL_STRING18;
108  // L2V1 model with two compartments
109  // one has no unit set, the other uses litre
110  static const char* MODEL_STRING19;
111  // L2V1 model with two compartments
112  // one has no unit set, the other uses nl
113  static const char* MODEL_STRING20;
114  // L2V1 model with two compartments
115  // one uses nl, the other has no unit set
116  static const char* MODEL_STRING21;
117 
119 
120 public:
121  void setUp();
122 
123  void tearDown();
124 
146 };
147 
148 #endif /* TEST000083_H__ */
void test_import_compartment_units_10()
Definition: test000083.cpp:423
void test_import_compartment_units_5()
Definition: test000083.cpp:195
static const char * MODEL_STRING2
Definition: test000083.h:60
void test_import_compartment_units_16()
Definition: test000083.cpp:666
void test_import_compartment_units_21()
Definition: test000083.cpp:886
void test_import_compartment_units_15()
Definition: test000083.cpp:622
void test_import_compartment_units_8()
Definition: test000083.cpp:335
void setUp()
Definition: test000083.cpp:36
void test_import_compartment_units_9()
Definition: test000083.cpp:379
void test_import_compartment_units_3()
Definition: test000083.cpp:99
void test_import_compartment_units_14()
Definition: test000083.cpp:578
static const char * MODEL_STRING16
Definition: test000083.h:101
void test_import_compartment_units_13()
Definition: test000083.cpp:555
void tearDown()
Definition: test000083.cpp:44
static const char * MODEL_STRING21
Definition: test000083.h:116
static const char * MODEL_STRING15
Definition: test000083.h:98
static const char * MODEL_STRING17
Definition: test000083.h:104
void test_import_compartment_units_2()
Definition: test000083.cpp:72
static const char * MODEL_STRING8
Definition: test000083.h:77
void test_import_compartment_units_19()
Definition: test000083.cpp:798
void test_import_compartment_units_12()
Definition: test000083.cpp:511
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000083.h:118
void test_import_compartment_units_7()
Definition: test000083.cpp:291
void test_import_compartment_units_20()
Definition: test000083.cpp:842
static const char * MODEL_STRING7
Definition: test000083.h:74
static const char * MODEL_STRING19
Definition: test000083.h:110
static const char * MODEL_STRING1
Definition: test000083.h:58
void test_import_compartment_units_6()
Definition: test000083.cpp:239
static const char * MODEL_STRING3
Definition: test000083.h:62
CPPUNIT_TEST(test_import_compartment_units_1)
void test_import_compartment_units_4()
Definition: test000083.cpp:151
void test_import_compartment_units_11()
Definition: test000083.cpp:467
static const char * MODEL_STRING4
Definition: test000083.h:65
static const char * MODEL_STRING9
Definition: test000083.h:80
static const char * MODEL_STRING13
Definition: test000083.h:92
static const char * MODEL_STRING18
Definition: test000083.h:107
static const char * MODEL_STRING6
Definition: test000083.h:71
CPPUNIT_TEST_SUITE(test000083)
static const char * MODEL_STRING12
Definition: test000083.h:89
void test_import_compartment_units_18()
Definition: test000083.cpp:754
static const char * MODEL_STRING14
Definition: test000083.h:95
CPPUNIT_TEST_SUITE_END()
static const char * MODEL_STRING10
Definition: test000083.h:83
static const char * MODEL_STRING11
Definition: test000083.h:86
static const char * MODEL_STRING5
Definition: test000083.h:68
static const char * MODEL_STRING20
Definition: test000083.h:113
void test_import_compartment_units_17()
Definition: test000083.cpp:710
void test_import_compartment_units_1()
Definition: test000083.cpp:49