docstr: Error is triggered if dim < 1.
docstr_tok: ["Error","is","triggered","if","dim","<","1","."]
code: def test_dim_should_be_positive(self):
      """Error is triggered if dim < 1."""
      with self.assertRaises(ValueError):
          self.evaluate(random.sobol.sample(0, 5, validate_args=True))
  
file_path: tf-quant-finance/tf_quant_finance/math/random_ops/sobol/sobol_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow.python.framework import test_util
  from tf_quant_finance.math import random
label_desc: Use image node_id 8 for calling the SampleSobolSequenceTest obj's underlying member method code with example usage: obj.test_dim_should_be_positive() without return types