Home
last modified time | relevance | path

Searched refs:edge_by_id (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph_tests/
Dtest_graphutil.py15 h, t = g.edge_by_id(e)
27 h, t = g.edge_by_id(e)
43 h, t = g.edge_by_id(e)
Dtest_graph.py108 self.assertEqual(graph.edge_by_id(e1), (1,2))
109 self.assertRaises(GraphError, graph.edge_by_id, (e1+1)*(e2+1)+1)
141 self.assertEqual(graph.edge_by_id(v[0]), (4, 5))
145 self.assertEqual(graph.edge_by_id(e)[0], 1)
149 self.assertEqual(graph.edge_by_id(v[0]), (4, 1))
153 self.assertEqual(graph.edge_by_id(e)[1], 5)
157 self.assertTrue(graph.edge_by_id(e)[1] == 5 or graph.edge_by_id(e)[0] == 5)
547 self.assertRaises(GraphError, g.edge_by_id, e)
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
DGraph.py197 def edge_by_id(self, edge): member in Graph
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dgraph.rst152 .. method:: Graph.edge_by_id(edge)