COPASI API  4.16.103
test000084.h
Go to the documentation of this file.
1 // Begin CVS Header
2 // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/sbml/unittests/test000084.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_000084_H__
15 #define TEST_000084_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 2D compartment unit import and export.
24  */
25 
26 class CCopasiDataModel;
27 
28 class test000084 : public CppUnit::TestFixture
29 {
53 
54 protected:
55  // models for import test
56 
57  // L2V1 model with global area unit "nm^2"
58  static const char* MODEL_STRING1;
59  // L2V1 model with global area unit "10e-4*m^2"
60  static const char* MODEL_STRING2;
61  // L2V1 model with global area unit "mole"
62  static const char* MODEL_STRING3;
63  // L2V1 model with global area unit "nm^2"
64  // and local unit mm^2
65  static const char* MODEL_STRING4;
66  // L2V1 model with global area unit "nm^2"
67  // and local unit mole
68  static const char* MODEL_STRING5;
69  // L2V1 model with global area unit "mole"
70  // and local unit nm^2
71  static const char* MODEL_STRING6;
72  // L2V1 model with no global area unit
73  // and local unit nm^2
74  static const char* MODEL_STRING7;
75  // L2V1 model with no global area unit
76  // and local unit area
77  static const char* MODEL_STRING8;
78  // L2V1 model with no global area unit
79  // and local unit m^2
80  static const char* MODEL_STRING9;
81  // L2V1 model with no global area unit
82  // and no local area unit
83  static const char* MODEL_STRING10;
84  // L2V1 model with no global area unit
85  // and a local area unit of "volume"
86  static const char* MODEL_STRING11;
87  // L2V1 model with no global area unit
88  // and a local area unit of "length"
89  static const char* MODEL_STRING12;
90  // L2V1 model with no global area unit
91  // and a local area unit of "dimensionless"
92  static const char* MODEL_STRING13;
93  // L2V1 model with no global area unit
94  // and a local area unit of "m^3"
95  static const char* MODEL_STRING14;
96  // L2V1 model with no global area unit
97  // and a local area unit of "m"
98  static const char* MODEL_STRING15;
99  // L2V1 model with no global area unit
100  // and a local area unit of "mole"
101  static const char* MODEL_STRING16;
102  // L2V1 model with no global area unit
103  // and a local area unit of "substance"
104  static const char* MODEL_STRING17;
105  // L2V1 model with two compartments
106  // one has no unit set, the other uses area
107  static const char* MODEL_STRING18;
108  // L2V1 model with two compartments
109  // one has no unit set, the other uses m^2
110  static const char* MODEL_STRING19;
111  // L2V1 model with two compartments
112  // one has no unit set, the other uses nm^2
113  static const char* MODEL_STRING20;
114  // L2V1 model with two compartments
115  // one uses nm^2, 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 /* TEST000084_H__ */
static const char * MODEL_STRING1
Definition: test000084.h:58
void test_import_compartment_units_15()
Definition: test000084.cpp:696
static const char * MODEL_STRING19
Definition: test000084.h:110
static const char * MODEL_STRING9
Definition: test000084.h:80
CPPUNIT_TEST_SUITE_END()
static const char * MODEL_STRING18
Definition: test000084.h:107
void test_import_compartment_units_16()
Definition: test000084.cpp:748
void test_import_compartment_units_21()
static const char * MODEL_STRING6
Definition: test000084.h:71
void test_import_compartment_units_13()
Definition: test000084.cpp:620
static const char * MODEL_STRING8
Definition: test000084.h:77
CPPUNIT_TEST(test_import_compartment_units_1)
void test_import_compartment_units_2()
Definition: test000084.cpp:73
void test_import_compartment_units_17()
Definition: test000084.cpp:800
static const char * MODEL_STRING21
Definition: test000084.h:116
static const char * MODEL_STRING13
Definition: test000084.h:92
static const char * MODEL_STRING11
Definition: test000084.h:86
static const char * MODEL_STRING2
Definition: test000084.h:60
void test_import_compartment_units_5()
Definition: test000084.cpp:204
void test_import_compartment_units_14()
Definition: test000084.cpp:644
static CCopasiDataModel * pCOPASIDATAMODEL
Definition: test000084.h:118
void test_import_compartment_units_20()
Definition: test000084.cpp:956
void test_import_compartment_units_12()
Definition: test000084.cpp:568
void test_import_compartment_units_11()
Definition: test000084.cpp:516
void tearDown()
Definition: test000084.cpp:44
void test_import_compartment_units_8()
Definition: test000084.cpp:360
static const char * MODEL_STRING5
Definition: test000084.h:68
void test_import_compartment_units_7()
Definition: test000084.cpp:308
void test_import_compartment_units_9()
Definition: test000084.cpp:412
static const char * MODEL_STRING20
Definition: test000084.h:113
void test_import_compartment_units_10()
Definition: test000084.cpp:464
void test_import_compartment_units_6()
Definition: test000084.cpp:256
static const char * MODEL_STRING12
Definition: test000084.h:89
void test_import_compartment_units_19()
Definition: test000084.cpp:904
static const char * MODEL_STRING17
Definition: test000084.h:104
void test_import_compartment_units_3()
Definition: test000084.cpp:100
static const char * MODEL_STRING3
Definition: test000084.h:62
void setUp()
Definition: test000084.cpp:36
static const char * MODEL_STRING15
Definition: test000084.h:98
static const char * MODEL_STRING10
Definition: test000084.h:83
CPPUNIT_TEST_SUITE(test000084)
static const char * MODEL_STRING14
Definition: test000084.h:95
void test_import_compartment_units_4()
Definition: test000084.cpp:152
static const char * MODEL_STRING4
Definition: test000084.h:65
static const char * MODEL_STRING16
Definition: test000084.h:101
void test_import_compartment_units_1()
Definition: test000084.cpp:49
static const char * MODEL_STRING7
Definition: test000084.h:74
void test_import_compartment_units_18()
Definition: test000084.cpp:852