code: def test_binary(self):
      p = pd.Series([0, 1, 0, 1])
      q = pd.Series([0.7, 0.7, 0.3, 0.3])
      s = pd.Series([0, 0, 1, 1])
      expected = {sv: _evaluate(p[s == sv], q[s == sv]) for sv in s}
      actual = _evaluate(p, q, s)
      assert expected == actual
  
imports: import numpy
  import pandas
  from aif360.metrics.ot_metric import _normalize, _transform, _evaluate
  from aif360.sklearn.metrics import ot_distance
  from ot import emd2
  import unittest
  from unittest import TestCase
label_desc: Use image node_id 6 for calling the TestEvaluate obj's underlying member method code with example usage: obj.test_binary() without return types