void
ModifierSpeciesReferenceTest_setup (void)
{
    MSR = ModifierSpeciesReference_create(2, 4);

    if (MSR == NULL)
    {
        fail( "ModifierSpeciesReference_create() returned a NULL pointer." );
    }
}
示例#2
0
文件: doc.c 项目: cran/rsbml
static ModifierSpeciesReference_t *
rsbml_build_doc_modifier_species_reference(SEXP r_modifier_species_reference)
{
  ModifierSpeciesReference_t * modifier_species_reference;
  
  modifier_species_reference = ModifierSpeciesReference_create();
  
  rsbml_build_doc_simple_species_reference(
    (SimpleSpeciesReference_t *)modifier_species_reference, r_modifier_species_reference);
  
  return modifier_species_reference;
}