code: def test_latin_sample_trivial_group(self):
      problem = {
          "num_vars": 1,
          "bounds": [[0, 1]],
          "names": ["var1"],
          "groups": ["group1"],
      }
  
      actual = sample(problem, 10, seed=42)
      expected = np.array(
          [
              [0.8601115],
              [0.27319939],
              [0.03745401],
              [0.60580836],
              [0.78661761],
              [0.97080726],
              [0.35986585],
              [0.19507143],
              [0.41560186],
              [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 2 for calling the TestLatinSample obj's underlying member method code with example usage: obj.test_latin_sample_trivial_group() without return types