code: def test_adjacency_interface_scipy(self):
      A = nx.to_scipy_sparse_array(self.Gs, dtype="d")
      pos = nx.drawing.layout._sparse_fruchterman_reingold(A)
      assert pos.shape == (6, 2)
      pos = nx.drawing.layout._sparse_spectral(A)
      assert pos.shape == (6, 2)
      pos = nx.drawing.layout._sparse_fruchterman_reingold(A, dim=3)
      assert pos.shape == (6, 3)
  
imports: import pytest
  import networkx
label_desc: Use image node_id 14 for calling the TestLayout obj's underlying member method code with example usage: obj.test_adjacency_interface_scipy() without return types