def test_avar():
    data = np.array([
        1.80044838, 2.02938314, 1.03534016, 4.84225057, 1.54256458, 5.19290675,
        2.18474784, 4.77054777, 1.51736933, 0.72727580
    ])
    s = pycircstat.avar(data)
    assert_allclose(1.3168, s, atol=0.001, rtol=0.001)
def test_avar():
    data = np.array([1.80044838, 2.02938314, 1.03534016, 4.84225057,
                     1.54256458, 5.19290675, 2.18474784,
                     4.77054777, 1.51736933, 0.72727580])
    s = pycircstat.avar(data)
    assert_allclose(1.3168, s, atol=0.001, rtol=0.001)