code: def to_array_test_data(self):
      smoke_data = []
  
      top = Topology(
          n_labels=2, partition=((0,), (1,)), split_sets=((), ())
      )
      x = gs.array([])
      smoke_data.append(dict(point_args=(top, x), expected=gs.eye(2)))
  
      top = Topology(
          n_labels=3,
          partition=((0,), (1,), (2,)),
          split_sets=((), (), ()),
      )
      x = gs.array([])
      smoke_data.append(dict(point_args=(top, x), expected=gs.eye(3)))
  
      top = Topology(
          n_labels=4,
          partition=((0,), (1,), (2,), (3,)),
          split_sets=((),) * 4,
      )
      x = gs.array([])
      smoke_data.append(dict(point_args=(top, x), expected=gs.eye(4)))
  
      partition = ((0, 1, 2),)
      split_sets = ((((0, 1), (2,)), ((0, 2), (1,)), ((0,), (1, 2))),)
      split_sets = [
          [Split(a, b) for a, b in splits] for splits in split_sets
      ]
      top = Topology(
          n_labels=3, partition=partition, split_sets=split_sets
      )
      x = gs.array([0.1, 0.2, 0.3])
      expected = gs.array(
          [[1.0, 0.56, 0.63], [0.56, 1.0, 0.72], [0.63, 0.72, 1.0]]
      )
      smoke_data.append(dict(point_args=(top, x), expected=expected))
  
      return self.generate_tests(smoke_data)
  
imports: import random
  import geomstats.backend
  from geomstats.geometry.stratified.wald_space import Split, Topology, Wald, WaldSpace
  from geomstats.test.data import TestData
  from geomstats.test.test_case import np_backend
  from .point_set import PointSetTestData, PointTestData
label_desc: Use image node_id 2 for calling the WaldTestData obj's underlying member method code with example usage: obj.to_array_test_data() and returns: self