COPASI API
4.16.103
|
#include <test000062.h>
Public Member Functions | |
void | setUp () |
void | tearDown () |
void | test_kineticlaw_without_math () |
Static Protected Attributes | |
static const char * | MODEL_STRING1 |
static CCopasiDataModel * | pCOPASIDATAMODEL = NULL |
Private Member Functions | |
CPPUNIT_TEST (test_kineticlaw_without_math) | |
CPPUNIT_TEST_SUITE (test000062) | |
CPPUNIT_TEST_SUITE_END () | |
This test check if a kinetic law without math element is imported with the correct warning.
Definition at line 30 of file test000062.h.
|
private |
|
private |
|
private |
void test000062::setUp | ( | ) |
Definition at line 39 of file test000062.cpp.
References CCopasiRootContainer::addDatamodel(), CCopasiRootContainer::init(), and pCOPASIDATAMODEL.
void test000062::tearDown | ( | ) |
void test000062::test_kineticlaw_without_math | ( | ) |
Definition at line 52 of file test000062.cpp.
References CCopasiMessage::getLastMessage(), CCopasiDataModel::getModel(), CCopasiMessage::getNumber(), CCopasiMessage::getType(), CCopasiRootContainer::getUndefinedFunction(), CCopasiDataModel::importSBMLFromString(), MCSBML, MODEL_STRING1, pCOPASIDATAMODEL, CCopasiMessage::size(), and CCopasiMessage::WARNING.
|
staticprotected |
The units given for the two parameters in the kinetic law are wrong and they are only there to stop libsbml from issuing warnings about best modeling practice.
Definition at line 37 of file test000062.h.
Referenced by test_kineticlaw_without_math().
|
staticprotected |
Definition at line 38 of file test000062.h.
Referenced by setUp(), and test_kineticlaw_without_math().