docstr: Test the attack.
code: def test_run_attack_on_keras_model(self):
      """Test the attack."""
      results = keras_evaluation.run_attack_on_keras_model(
          self.model,
          (self.train_data, self.train_labels),
          (self.test_data, self.test_labels),
          attack_types=[AttackType.THRESHOLD_ATTACK],
      )
      self.assertIsInstance(results, AttackResults)
      (
          att_types,
          att_slices,
          att_metrics,
          att_values,
      ) = get_flattened_attack_metrics(results)
      self.assertLen(att_types, 3)
      self.assertLen(att_slices, 3)
      self.assertLen(att_metrics, 3)
      self.assertLen(att_values, 3)
  
file_path: privacy/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/keras_evaluation_test.py
imports: from absl.testing import absltest
  import numpy
  import tensorflow
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack import keras_evaluation
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import AttackResults
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import AttackType
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import get_flattened_attack_metrics
label_desc: Use image node_id 3 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_run_attack_on_keras_model() without return types