def test_set_description(self): from libcellml import Error # void setDescription(const std::string &description) e = Error() e.setDescription('hello') e.setDescription('')
def test_get_description(self): from libcellml import Error # std::string getDescription() d = 'hi' e = Error() self.assertEqual(e.getDescription(), '') e.setDescription(d) self.assertEqual(e.getDescription(), d) del (d, e)