Пример #1
0
class FasterGraphTest(AbstractGraphTest, unittest.TestCase):

    def setUp(self):
        self.graph = FasterGraph()
        self.a = self.graph.add_node()
        self.b = self.graph.add_node()
        self.ab = self.graph.add_edge(self.a, self.b)
Пример #2
0
 def setUp(self):
     self.graph = FasterGraph()
     self.a = self.graph.add_node()
     self.b = self.graph.add_node()
     self.ab = self.graph.add_edge(self.a, self.b)