def test_reset(self): from libcellml import Issue, Reset # ResetPtr reset() const; e = Issue() self.assertIsNone(e.reset()) name = 'res' r = Reset() r.setId(name) e.setReset(r) self.assertIsInstance(e.reset(), Reset) self.assertEqual(e.reset().id(), name)
def test_set_reset(self): from libcellml import Issue, Reset # void setReset(const ResetPtr &reset); e = Issue() e.setReset(Reset())