code: def test_tene():
      """
      Testing the TENE node embedding.
      """
      graph = nx.newman_watts_strogatz_graph(250, 10, 0.2)
  
      features = np.random.uniform(0, 1, (250, 128))
      model = TENE()
      model.fit(graph, features)
      embedding = model.get_embedding()
  
      assert embedding.shape[0] == graph.number_of_nodes()
      assert embedding.shape[1] == 2 * model.dimensions
      assert type(embedding) == np.ndarray
  
      graph = nx.newman_watts_strogatz_graph(150, 10, 0.2)
  
      features = np.random.uniform(0, 1, (150, 128))
      model = TENE(dimensions=8)
      model.fit(graph, features)
      embedding = model.get_embedding()
  
      assert embedding.shape[0] == graph.number_of_nodes()
      assert embedding.shape[1] == 2 * model.dimensions
      assert type(embedding) == np.ndarray
  
file_path: karateclub/test/attributed_node_embedding_test.py
imports: import random
  import numpy
  import networkx
  from scipy.sparse import coo_matrix
  from karateclub.node_embedding.attributed import BANE, TENE, TADW, FSCNMF, SINE, MUSAE, FeatherNode, ASNE, AE
label_desc: Use image node_id 5 for calling a global function with example usage: test_tene() without return types