def test_Constraint_setMath1(self):
    math = libsbml.parseFormula('2 * k')
    i = self.C.setMath(math)
    self.assert_((i == libsbml.LIBSBML_OPERATION_SUCCESS))
    self.assert_((self.C.getMath() != math))
    self.assertEqual(True, self.C.isSetMath())
    i = self.C.setMath(None)
    self.assert_((i == libsbml.LIBSBML_OPERATION_SUCCESS))
    self.assert_((self.C.getMath() == None))
    self.assertEqual(False, self.C.isSetMath())
    math = None
    pass
def test_Constraint_setMath1(self):
    math = libsbml.parseFormula('2 * k')
    i = self.C.setMath(math)
    self.assert_((i == libsbml.LIBSBML_OPERATION_SUCCESS))
    self.assert_((self.C.getMath() != math))
    self.assertEqual(True, self.C.isSetMath())
    i = self.C.setMath(None)
    self.assert_((i == libsbml.LIBSBML_OPERATION_SUCCESS))
    self.assert_((self.C.getMath() == None))
    self.assertEqual(False, self.C.isSetMath())
    math = None
    pass