assertTrue(model.getLevel() == 1 && model.getVersion() == 1);
assertTrue(model.getId().equals(""));
assertTrue(model.getName().equals(""));
int nbRateRules = model.getListOfRules().filterList(new Filter() {
/*
* (non-Javadoc)
* @see org.sbml.jsbml.util.filters.Filter#accepts(java.lang.Object)
*/
public boolean accepts(Object o) {
if (o instanceof RateRule) {
return true;
}
return false;
}
}).size();
int nbAssignmentRules = model.getListOfRules().filterList(new Filter() {
/*
* (non-Javadoc)
* @see org.sbml.jsbml.util.filters.Filter#accepts(java.lang.Object)
*/