def test_Sobol_G_using_sobol():
    problem = {'num_vars': 6,
               'names': ['x1', 'x2', 'x3', 'x4', 'x5', 'x6'],
               'bounds': [[0, 1], [0, 1], [0, 1], [0, 1],[0, 1], [0, 1]]}
    N = 5000
    a = np.array([78, 12, 0.5, 2, 97, 33])
    param_values = saltelli.sample(problem, N, calc_second_order=False)
    model_results = Sobol_G.evaluate(param_values, a)
    Si = sobol.analyze(problem, model_results, calc_second_order=False)
#     expected = Sobol_G.total_sensitivity_index(a)
#     assert_allclose(Si['ST'], expected)
    expected = Sobol_G.sensitivity_index(a)
    assert_allclose(Si['S1'], expected, atol=1e-2, rtol=1e-6)
Test for Return True if the minion matches the given grain target
dataset/ETHPy150Open SALib/SALib/SALib/tests/test_sobol.py/test_Sobol_G_using_sobol--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/match_test.py/MatchTestCase.test_grain