

def test_julier_weights():
    for n in range(1, 15):
        for k in np.linspace(0, 5, 0.1):
            Wm = UKF.weights(n, k)
            assert (abs((sum(Wm) - 1)) < 1e-12)

dataset/ETHPy150Open rlabbe/filterpy/filterpy/kalman/tests/test_ukf.py test_julier_weights/original