181
181
self.assertEqual(set(['rev1']), graph.find_lca('rev1', 'rev1'))
182
182
self.assertEqual(set(['rev1']), graph.find_lca('rev2a', 'rev2b'))
184
190
def test_lca_criss_cross(self):
185
191
"""Test least-common-ancestor after a criss-cross merge."""
186
192
graph = self.make_graph(criss_cross)