def test_within_tolerance5(self): from shapeanalysis.process_data import within_tolerance actual = within_tolerance(0.5 - 0, 0.49, float_tol=0) self.assertFalse(actual)
def test_within_tolerance_within_negative(self): from shapeanalysis.process_data import within_tolerance with self.assertRaises(ValueError): within_tolerance(0.1, -0.1)
def test_within_tolerance3(self): from shapeanalysis.process_data import within_tolerance actual = within_tolerance(90 - 90.001, 0.0001) self.assertFalse(actual)