def METHOD_NAME(self):
    """Test it returns the correct values when y0val and ynval set"""
    result = LinearWeights(y0val=10.0, ynval=5.0).linear_weights(6)
    expected_result = np.array(
        [0.22222222, 0.2, 0.17777778, 0.15555556, 0.13333333, 0.11111111]
    )
    self.assertArrayAlmostEqual(result, expected_result)