public void test_SBMLDocument_createWith() { SBMLDocument d = new SBMLDocument(1,2); assertTrue( d.getTypeCode() == libsbml.SBML_DOCUMENT ); assertTrue( d.getNotes() == null ); assertTrue( d.getAnnotation() == null ); assertTrue( d.getLevel() == 1 ); assertTrue( d.getVersion() == 2 ); assertTrue( d.getNumErrors() == 0 ); d = null; }