def test_is_trivial_angle(rad, expected):
    tolerance = 1e-8
    out = _is_trivial_angle(rad, tolerance)
    assert out == expected, 'rad = {}'.format(rad)
Exemplo n.º 2
0
def test_is_trivial_angle(rad, expected):
    tolerance = 1e-8
    out = _is_trivial_angle(rad, tolerance)
    assert out == expected, f'rad = {rad}'