예제 #1
0
def test_angle_to_2pi_range(angle, expected):
    assert np.isclose(angle_to_2pi_range(angle), expected)
예제 #2
0
 def wrapped_function(keypoint, *args, **kwargs):
     (x, y, a, s) = func(keypoint, *args, **kwargs)
     return (x, y, angle_to_2pi_range(a), s)