code: def test_cubical(self):
      G = nx.cubical_graph()
      assert list(nx.square_clustering(G).values()) == [
          1 / 3,
          1 / 3,
          1 / 3,
          1 / 3,
          1 / 3,
          1 / 3,
          1 / 3,
          1 / 3,
      ]
      assert list(nx.square_clustering(G, [1, 2]).values()) == [
          1 / 3,
          1 / 3,
      ]
      assert nx.square_clustering(G, [1])[1] == 1 / 3
      assert nx.square_clustering(G, 1) == 1 / 3
      assert nx.square_clustering(G, [1, 2]) == {1: 1 / 3, 2: 1 / 3}
  
imports: import pytest
  import networkx
label_desc: Use image node_id 3 for calling the TestSquareClustering obj's underlying member method code with example usage: obj.test_cubical() without return types