code: def test_tensor_product_classic_result():
      K2 = nx.complete_graph(2)
      G = nx.petersen_graph()
      G = nx.tensor_product(G, K2)
      assert nx.is_isomorphic(G, nx.desargues_graph())
  
      G = nx.cycle_graph(5)
      G = nx.tensor_product(G, K2)
      assert nx.is_isomorphic(G, nx.cycle_graph(10))
  
      G = nx.tetrahedral_graph()
      G = nx.tensor_product(G, K2)
      assert nx.is_isomorphic(G, nx.cubical_graph())
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_tensor_product_classic_result() without return types