class_docstr: Unit test class for sampling utilities. 
class_docstr_tok: ["Unit","test","class","for","sampling","utilities","."]
docstr: Tests latin hyper-cube index generation. 
docstr_tok: ["Tests","latin","hyper-cube","index","generation","."]
code: def test_latin_hc_indices(self):
      """Tests latin hyper-cube index generation."""
      self.report(
          "Test Latin hyper-cube indexing. Only a sufficient condition check."
      )
      for data in self.lhs_data:
          lhs_true_sum = data[1] * (data[1] - 1) / 2
          lhs_idxs = oper_utils.latin_hc_indices(data[0], data[1])
          lhs_idx_sums = np.array(lhs_idxs).sum(axis=0)
          assert np.all(lhs_true_sum == lhs_idx_sums)
  
imports: from __future__ import absolute_import
  import os
  import time
  from argparse import Namespace
  import numpy
  from .ancillary_utils import is_nondecreasing
  from .base_test_class import BaseTestClass, execute_tests
  from .euclidean_synthetic_functions import get_mf_hartmann_function_data
  from .None import oper_utils
label_desc: Use image node_id 3 for calling the SamplersTestCase obj's underlying member method code with example usage: obj.test_latin_hc_indices() without return types