code: def test_minibatches_with_shuffle(self):
      data = np.arange(24)
      iterbatches = iters.minibatches(data, batch_size=12, shuffle=True)
  
      collected_samples = []
      for batch in iterbatches:
          collected_samples.append(batch)
  
      collected_samples = np.concatenate(collected_samples)
      np.testing.assert_array_equal(data, sorted(collected_samples))
      self.assertFalse(np.allclose(data == collected_samples, b=1e-7))
  
file_path: neupy/tests/utils/test_iters.py
imports: import numpy
  from neupy.utils import iters
  from neupy.utils.iters import average_batch_errors, count_samples, count_minibatches
  from base import BaseTestCase
label_desc: Use image node_id 3 for calling the ItersUtilsTestCase obj's underlying member method code with example usage: obj.test_minibatches_with_shuffle() without return types