Verify that the compartment exists in a model
Usage
assertCompartmentExists(ui, x)
testCompartmentExists(ui, x)
Arguments
- ui
is the model to test
- x
The value to test (can be a vector of strings)
Value
the value of the compartment that exists; if it is a vector
returns the first item that matches
See also
Other Assertions:
assertCompartmentName(),
assertCompartmentNew(),
assertRxUi(),
assertVariableExists(),
assertVariableNew(),
rxPriorBuildSpec(),
rxPriorLogDensity(),
rxPriorOmegaToCholOmegaInvGrad(),
rxUiPriors(),
testIniDf(),
testRxUnbounded()
Author
Matthew Fidler & Bill Denney