docstr: Betweenness Centrality Subset: box and path multiple target
docstr_tok: ["Betweenness","Centrality","Subset",":","box","and","path","multiple","target"]
code: def test_box_and_path2(self):
      """Betweenness Centrality Subset: box and path multiple target"""
      G = nx.Graph()
      G.add_edges_from(
          [(0, 1), (1, 2), (2, 3), (1, 20), (20, 3), (3, 4)]
      )
      b_answer = {0: 0, 1: 1.0, 2: 0.5, 20: 0.5, 3: 0.5, 4: 0}
      b = nx.betweenness_centrality_subset(
          G, sources=[0], targets=[3, 4], weight=None
      )
      for n in sorted(G):
          assert b[n] == pytest.approx(b_answer[n], abs=1e-7)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 7 for calling the TestSubsetBetweennessCentrality obj's underlying member method code with example usage: obj.test_box_and_path2() without return types