def test_06(self):
     graph = Graphs.WeightedTriangle(self.graph_class)
     result = lab.get_most_central_node(graph)
     expected_possibilities = {'b', 'c'}
     self.assertIn(result, expected_possibilities)
 def test_04(self):
     graph = Graphs.WeightedDiamond(self.graph_class)
     result = lab.get_most_central_node(graph)
     expected = 'a'
     self.assertEqual(expected, result)
 def test_05(self):
     graph = Graphs.Dumbbell(self.graph_class)
     result = lab.get_most_central_node(graph)
     expected = 'a'
     self.assertEqual(expected, result)
 def test_03(self):
     graph = Graphs.Line(self.graph_class)
     result = lab.get_most_central_node(graph)
     expected = 'b'
     self.assertEqual(expected, result)