assertCompartmentExists function

Verify that the compartment exists in a model

Verify that the compartment exists in a model

assertCompartmentExists(ui, x) testCompartmentExists(ui, x)

Arguments

  • ui: is the model to test
  • x: The value to test (can be a vector of strings)

Returns

the value of the compartment that exists; if it is a vector returns the first item that matches

Functions

  • testCompartmentExists(): Test if compartment exists

See Also

Other Assertions: assertCompartmentName(), assertCompartmentNew(), assertRxUi(), assertVariableExists(), assertVariableNew(), testIniDf(), testRxUnbounded()

Author(s)

Matthew Fidler & Bill Denney