code: def test__process_what_to_run_expand_random_counterpart(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
      )
      self.assertEqual(
          sorted(self.mytcav_random_counterpart.all_concepts),
          sorted(
              [
                  "t1",
                  "c1",
                  "c2",
                  "random500_0",
                  "random500_1",
                  "random500_2",
              ]
          ),
      )
      self.assertEqual(
          sorted(self.mytcav_random_counterpart.pairs_to_test),
          sorted(
              [
                  ("t1", ["c1", "random500_0"]),
                  ("t1", ["c1", "random500_2"]),
                  ("t1", ["c2", "random500_0"]),
                  ("t1", ["c2", "random500_2"]),
                  ("t1", ["random500_1", "random500_0"]),
                  ("t1", ["random500_1", "random500_2"]),
              ]
          ),
      )
  
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 7 for calling the TcavTest obj's underlying member method code with example usage: obj.test__process_what_to_run_expand_random_counterpart() without return types