code: def test_Sobol_G_raises_error_if_values_lt_zero():
      """
      Tests that a value error is raised if the Sobol G function is called with
      values less than zero.
      """
      with raises(ValueError):
          evaluate(np.array([0, -1, -0.02, 1, 1, -0.1, -0, -12]))
  
file_path: SALib/tests/test_test_functions.py
imports: from pytest import raises
  from numpy.testing import assert_allclose
  import numpy
  from SALib.test_functions.Sobol_G import evaluate, _total_variance, _partial_first_order_variance, sensitivity_index, total_sensitivity_index
  from SALib import ProblemSpec
label_desc: Use image node_id 4 for calling a global function with example usage: test_Sobol_G_raises_error_if_values_lt_zero() without return types