changeset 21024 | 7731a2281cf0 |
parent 19504 | 2fa303619b4d |
child 22355 | 731b2a90983b |
21023:57b50abe2b24 | 21024:7731a2281cf0 |
---|---|
101 s = genlazyancestors([11, 13], stoprev=6, inclusive=True) |
101 s = genlazyancestors([11, 13], stoprev=6, inclusive=True) |
102 printlazyancestors(s, [11, 13, 7, 9, 8, 3, 6, 4, 1, -1, 0]) |
102 printlazyancestors(s, [11, 13, 7, 9, 8, 3, 6, 4, 1, -1, 0]) |
103 |
103 |
104 |
104 |
105 # The C gca algorithm requires a real repo. These are textual descriptions of |
105 # The C gca algorithm requires a real repo. These are textual descriptions of |
106 # dags that have been known to be problematic. |
106 # DAGs that have been known to be problematic. |
107 dagtests = [ |
107 dagtests = [ |
108 '+2*2*2/*3/2', |
108 '+2*2*2/*3/2', |
109 '+3*3/*2*2/*4*4/*4/2*4/2*2', |
109 '+3*3/*2*2/*4*4/*4/2*4/2*2', |
110 ] |
110 ] |
111 def test_gca(): |
111 def test_gca(): |