code: def test_perturb_act(self):
      perturbed = self.cav.perturb_act(
          np.array([1.0, 0, 1.0]),
          "concept1",
          operation=np.add,
          alpha=1.0,
      )
      self.assertEqual(2.0, perturbed[0])
      self.assertEqual(2.0, perturbed[1])
      self.assertEqual(4.0, perturbed[2])
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import pickle
  import shutil
  import numpy
  import tensorflow
  from sklearn import linear_model
  from six.moves import range
  from tcav.cav import CAV, get_or_train_cav
  from tensorflow.python.platform import flags
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the CavTest obj's underlying member method code with example usage: obj.test_perturb_act() without return types