def METHOD_NAME(self):
    """Test it works with larger num_of_vals. """
    plugin = NonLinearWeights(cval=0.5)
    cubenew = add_coordinate(self.cube, np.arange(6), "realization", dtype=np.int32)
    coord_name = "realization"
    result = plugin.process(cubenew, coord_name)
    expected_result = np.array(
        [0.50793651, 0.25396825, 0.12698413, 0.06349206, 0.03174603, 0.01587302]
    )
    self.assertArrayAlmostEqual(result.data, expected_result)