def test_split_far(self): assert (angle.close(-math.pi, math.pi - 1.0, 0.5) == False)
def test_wrap_far(self): assert (angle.close(0., 2 * math.pi + 0.1, 0.05) == False)
def test_smoke_far(self): assert (angle.close(0., 2., 1.0) == False)
def test_threshold_flip_far(self): assert (angle.close(1., 0., 0.5) == False)
def test_wrap(self): assert (angle.close(0, 2 * math.pi, 0.01) == True)
def test_split(self): assert (angle.close(-math.pi, math.pi - 0.1, 0.1) == True)
def test_threshold_flip(self): assert (angle.close(1., 0., 1.) == True)
def test_threshold(self): assert (angle.close(0., 1., 1.) == True)
def test_smoke(self): assert (angle.close(0.0, 0.0, 1.0)) == True