def get_MD_VDS(self): MD_VDS = lib_tail.get_MD_VDS(self.pars['tail_check_max'], self.pars['specimen_vds']) self.pars['MD_VDS'] = MD_VDS return MD_VDS
def test_MD_VDS(self): ref_MD_VDS = (old_div(self.ref_tail_check_max, self.vds)) * 100. MD_VDS = lib_tail.get_MD_VDS(self.ref_tail_check_max, self.vds) self.assertAlmostEqual(ref_MD_VDS, MD_VDS)
def test_MD_VDS(self): ref_MD_VDS = (self.ref_tail_check_max / self.vds) * 100. MD_VDS = lib_tail.get_MD_VDS(self.ref_tail_check_max, self.vds) self.assertAlmostEqual(ref_MD_VDS, MD_VDS)