def get_delta_CK(self): # def get_delta_CK(max_ptrm_check, x_int): delta_CK = lib_ptrm.get_delta_CK(self.pars['max_ptrm_check'], self.pars['specimen_XT']) self.pars['delta_CK'] = delta_CK return delta_CK
def test_delta_CK(self): result = lib_ptrm.get_delta_CK(self.ref_max_ptrm_check, self.x_int) self.assertAlmostEqual(self.ref_delta_CK, result)