code: def test__process_what_to_run_expand_specify_dirs_random_concepts(
      self,
  ):
      # _process_what_to_run_expand stores results to all_concepts,
      # and pairs_to_test.
      # test when random_counterpart is supplied
      self.mytcav_random_counterpart._process_what_to_run_expand(
          num_random_exp=2,
          random_concepts=["random_dir1", "random_dir2"],
      )
      self.assertEqual(
          sorted(self.mytcav_random_counterpart.all_concepts),
          sorted(
              [
                  "t1",
                  "c1",
                  "c2",
                  "random500_1",
                  "random_dir1",
                  "random_dir2",
              ]
          ),
      )
      self.assertEqual(
          sorted(self.mytcav_random_counterpart.pairs_to_test),
          sorted(
              [
                  ("t1", ["c1", "random_dir1"]),
                  ("t1", ["c1", "random_dir2"]),
                  ("t1", ["c2", "random_dir1"]),
                  ("t1", ["c2", "random_dir2"]),
                  ("t1", ["random500_1", "random_dir1"]),
                  ("t1", ["random500_1", "random_dir2"]),
              ]
          ),
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tcav.activation_generator import ActivationGeneratorBase
  from tcav.cav import CAV
  from tcav.tcav import TCAV
  from tensorflow.python.platform import googletest
  import numpy
  import tensorflow
label_desc: Use image node_id 9 for calling the TcavTest obj's underlying member method code with example usage: obj.test__process_what_to_run_expand_specify_dirs_random_concepts() without return types