public void test_internal_consistency_check_99904_rule_alg()
 {
     SBMLDocument d = new SBMLDocument(2,4);
       long errors;
       Rule r = new AlgebraicRule(2,4);
       d.setLevelAndVersion(1,2,false);
       Model m = d.createModel();
       Compartment c = m.createCompartment();
       c.setId("cc");
       r.setMetaId("mmm");
       r.setFormula("2");
       m.addRule(r);
       errors = d.checkInternalConsistency();
       assertTrue( errors == 0 );
       d = null;
 }