[Commit] tess ChangeLog,1.17,1.18 kbentley.5c,1.3,1.4
Carl Worth
commit at keithp.com
Sat Jul 24 00:33:16 PDT 2004
Committed by: cworth
Update of /local/src/CVS/tess
In directory home.keithp.com:/tmp/cvs-serv4633
Modified Files:
ChangeLog kbentley.5c
Log Message:
* kbentley.5c: Fix a couple things that I didn't mean to commit.
Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/tess/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- ChangeLog 24 Jul 2004 06:26:16 -0000 1.17
+++ ChangeLog 24 Jul 2004 07:33:13 -0000 1.18
@@ -1,5 +1,7 @@
2004-07-24 Carl Worth <cworth at isi.edu>
+ * kbentley.5c: Fix a couple things that I didn't mean to commit.
+
* bentley.5c (intersect_lines): Add some explanatory comments
about necessary bit depths.
(edge_greater): Start fixing currently unused integer version of
Index: kbentley.5c
===================================================================
RCS file: /local/src/CVS/tess/kbentley.5c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- kbentley.5c 24 Jul 2004 06:26:16 -0000 1.3
+++ kbentley.5c 24 Jul 2004 07:33:13 -0000 1.4
@@ -2,7 +2,7 @@
autoload Skiplist;
-const bool VALIDATE_SORT = false;
+const bool VALIDATE_SORT = true;
prefix="skip/";
@@ -714,14 +714,10 @@
Edge[*] intersected_edges = bentley_ottman_iterative (edges, &iterations);
- if (true) {
- if (edges_have_an_intersection_quadratic (&intersected_edges))
- printf ("*** FAIL ***");
- else
- printf ("PASS");
- } else {
- printf ("NOT_CHECKED");
- }
+ if (edges_have_an_intersection_quadratic (&intersected_edges))
+ printf ("*** FAIL ***");
+ else
+ printf ("PASS");
printf (" (%d iteration%s)\n", iterations, iterations == 1 ? "" : "s");
}
@@ -823,7 +819,7 @@
for (int i=0; i < dim(tests); i++)
run_test (tests[i].name, tests[i].edges);
-num_random = 10;
+num_random = 30;
if (dim(argv)>1)
num_random = string_to_integer (argv[1]);
@@ -838,6 +834,4 @@
bottom = { x = PRNG::randint (10), y = PRNG::randint (10) }
};
}
-/*
run_test ("random", random_edges);
-*/
More information about the Commit
mailing list