code: def testMDS(self):
      g = Graph.Tree(10, 2)
      lo = g.layout("mds")
      self.assertTrue(isinstance(lo, Layout))
  
      dists = g.distances()
      lo = g.layout("mds", dists)
      self.assertTrue(isinstance(lo, Layout))
  
      g += Graph.Tree(10, 2)
      lo = g.layout("mds")
      self.assertTrue(isinstance(lo, Layout))
  
imports: import unittest
  from math import hypot
  from igraph import Graph, Layout, BoundingBox, InternalError
  from igraph import umap_compute_weights
label_desc: Use image node_id 7 for calling the LayoutAlgorithmTests obj's underlying member method code with example usage: obj.testMDS() without return types