code: def subtest_constraints(self):
      for s in self.samples:
          assert len(s) == self.k
  
          all(0 <= x < self.n for x in s)
  
          # distinct
          t = np.unique(s)
          assert len(t) == self.k
  
file_path: pfrl/tests/utils_tests/test_random.py
imports: import timeit
  import unittest
  import numpy
  import pytest
  from scipy import stats
  from pfrl.utils.random import sample_n_k
label_desc: Use image node_id 3 for calling the TestSampleNK obj's underlying member method code with example usage: obj.subtest_constraints() without return types