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

    if (MSR == NULL)
    {
        fail( "ModifierSpeciesReference_create() returned a NULL pointer." );
    }
}
Exemple #2
0
Fichier : doc.c Projet : 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;
}