code: def test_worst_case_multiple_targeted_fpr(art_warning):
      try:
          y_true = np.array([1, 0, 1, 1, 1, 0])
          y_proba = np.array([0.35, 0.33, 0.32, 0.6, 0.6, 0.2])
          res = get_roc_for_multi_fprs(
              attack_proba=y_proba,
              attack_true=y_true,
              targeted_fprs=[0.0, 0.5],
          )
          assert res[0][0] == 0.0
          assert res[1][0] == 0.75
          assert res[2][0] == 0.35
  
          assert res[0][1] == 0.5
          assert res[1][1] == 1.0
          assert res[2][1] == 0.32
  
          print(res)
      except ARTTestException as e:
          art_warning(e)
  
file_path: adversarial-robustness-toolbox/tests/metrics/privacy/test_worst_case_mia_score.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from art.metrics.privacy import get_roc_for_fpr, get_roc_for_multi_fprs
  from tests.utils import ARTTestException
label_desc: Use image node_id 4 for calling a global function with example usage: test_worst_case_multiple_targeted_fpr(art_warning) without return types