code: def test_latin_sample_one_group(self):
      problem = {
          "num_vars": 2,
          "bounds": [[0, 1], [0, 1]],
          "names": ["var1", "var2"],
          "groups": ["group1", "group1"],
      }
  
      actual = sample(problem, 10, seed=42)
      expected = np.array(
          [
              [0.8601115, 0.8601115],
              [0.27319939, 0.27319939],
              [0.03745401, 0.03745401],
              [0.60580836, 0.60580836],
              [0.78661761, 0.78661761],
              [0.97080726, 0.97080726],
              [0.35986585, 0.35986585],
              [0.19507143, 0.19507143],
              [0.41560186, 0.41560186],
              [0.51559945, 0.51559945],
          ]
      )
      np.testing.assert_allclose(actual, expected)
  
file_path: SALib/tests/sample/test_latin.py
imports: from SALib.sample.latin import sample
  from pytest import approx
  import numpy
label_desc: Use image node_id 3 for calling the TestLatinSample obj's underlying member method code with example usage: obj.test_latin_sample_one_group() without return types