public void test_AssignmentRule_createWithFormula()
        {
            ASTNode math;
            string  formula;
            Rule    ar = new  AssignmentRule(2, 4);

            ar.setVariable("s");
            ar.setFormula("1 + 1");
            assertTrue(ar.getTypeCode() == libsbml.SBML_ASSIGNMENT_RULE);
            assertTrue(ar.getMetaId() == "");
            assertTrue(("s" == ar.getVariable()));
            math = ar.getMath();
            assertTrue(math != null);
            formula = libsbml.formulaToString(math);
            assertTrue(formula != null);
            assertTrue(("1 + 1" == formula));
            assertTrue((formula == ar.getFormula()));
            ar = null;
        }