From 0623102c16ecbf5ade1a7ef195659826a6f92548 Mon Sep 17 00:00:00 2001 From: Tim Dwyer Date: Wed, 10 May 2006 07:13:45 +0000 Subject: Apparently a problem was reported with one of the test cases. I can't reproduce the problem, however solve_VPSC code in inkscape was getting quite out of date with that in www.sf.net/projects/adaptagrams. I've updated the code, which may fix the problem, or at least if it's reported again then I'll know it's still an issue. (bzr r803) --- src/removeoverlap/remove_rectangle_overlap-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/removeoverlap/remove_rectangle_overlap-test.cpp') diff --git a/src/removeoverlap/remove_rectangle_overlap-test.cpp b/src/removeoverlap/remove_rectangle_overlap-test.cpp index 9999d027e..87cf4cbb0 100644 --- a/src/removeoverlap/remove_rectangle_overlap-test.cpp +++ b/src/removeoverlap/remove_rectangle_overlap-test.cpp @@ -60,7 +60,7 @@ test_case(unsigned const n_rects, double const rect2coords[][4]) rect2coords[i][2], rect2coords[i][3]); } - removeRectangleOverlap(rs, n_rects, 0.0, 0.0); + removeRectangleOverlap(n_rects,rs,0.0, 0.0); for (unsigned i = 0; i < n_rects; ++i) { UTEST_ASSERT(possibly_eq(rs[i]->width(), (rect2coords[i][1] - rect2coords[i][0] ))); -- cgit v1.2.3