code: def test_simplex_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) < 1.0e-12
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import matplotlib.pyplot
  import numpy.random
  from numpy.random import randn
  from numpy import asarray
  import numpy
  from filterpy.kalman import UnscentedKalmanFilter
  from filterpy.kalman import unscented_transform, MerweScaledSigmaPoints, JulierSigmaPoints, SimplexSigmaPoints
  from filterpy.common import Q_discrete_white_noise
  import filterpy.stats
  from math import cos, sin
  from filterpy.kalman import UnscentedKalmanFilter2
label_desc: Use image node_id 3 for calling a global function with example usage: test_simplex_weights() without return types