Commits

Peter Arrenbrecht  committed 5d08825

use more samples for heads of test dags

  • Participants
  • Parent commits a84e862

Comments (0)

Files changed (1)

File src/testing.py

         self.writer.done()
         nodes = dag.nodeset()
         if not pairs:
-            pairs = [(dag.headsof(random.sample(nodes, 2)),
-                      dag.headsof(random.sample(nodes, 2)))
+            pairs = [(dag.headsof(random.sample(nodes, 30)),
+                      dag.headsof(random.sample(nodes, 30)))
                      for _i in xrange(n)]
         for p in pairs:
             self.writer.heading("heads: %s" % format([list(hs) for hs in p]))