MCPcopy Index your code
hub / github.com/clips/pattern / test_split

Method test_split

test/test_graph.py:282–286  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

280 print "pattern.graph.Graph.fringe()"
281
282 def test_split(self):
283 # Asset subgraph splitting.
284 self.assertTrue(isinstance(self.g.split(), list))
285 self.assertTrue(isinstance(self.g.split()[0], graph.Graph))
286 print "pattern.graph.Graph.split()"
287
288 def test_update(self):
289 # Assert node position after updating layout algorithm.

Callers

nothing calls this directly

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected