def test_multidirect_select(self): """test""" pymess.multidirect_select(pymess.MESS_MULTIDIRECT_SPARSE_LU) if pymess.mess_have_umfpack(): pymess.multidirect_select(pymess.MESS_MULTIDIRECT_UMFPACK_LU) else: self.assertRaises(Exception, pymess.multidirect_select, pymess.MESS_MULTIDIRECT_UMFPACK_LU) # select the default solver after test pymess.multidirect_select(pymess.MESS_MULTIDIRECT_SPARSE_LU)
def test_t1_messlu_multi(self): """test""" multidirect_select(MESS_MULTIDIRECT_SPARSE_LU) self.template_filter(MESS_OP_TRANSPOSE, '1', False)
def test_t1_umfpack_multi(self): """test""" multidirect_select(MESS_MULTIDIRECT_UMFPACK_LU) self.template_filter(MESS_OP_TRANSPOSE, '1', False)
def test_n_messlu_multi(self): """test""" multidirect_select(MESS_MULTIDIRECT_SPARSE_LU) self.template_filter(MESS_OP_NONE, None, False)
def test_n_umfpack_multi(self): """test""" multidirect_select(MESS_MULTIDIRECT_UMFPACK_LU) self.template_filter(MESS_OP_NONE, None, False)
def tearDown(self): """called after every test function""" multidirect_select(MESS_MULTIDIRECT_UMFPACK_LU)