def test_is_order_set(self): from libcellml import Reset # bool isOrderSet() x = Reset() self.assertFalse(x.isOrderSet()) x.setOrder(2) self.assertTrue(x.isOrderSet())
def test_unset_order(self): from libcellml import Reset # unsetOrder() x = Reset() x.setOrder(-4) self.assertTrue(x.isOrderSet()) x.unsetOrder() self.assertFalse(x.isOrderSet())
def test_unset_order(self): from libcellml import Reset # removeOrder() x = Reset() x.setOrder(-4) self.assertTrue(x.isOrderSet()) x.removeOrder() self.assertFalse(x.isOrderSet()) self.assertEqual(0, x.order())
def test_set_order(self): from libcellml import Reset x = Reset() x.setOrder(3) self.assertEqual(3, x.order())