summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/remove_rectangle_overlap-test.cpp
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-05-10 07:13:45 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-05-10 07:13:45 +0000
commit0623102c16ecbf5ade1a7ef195659826a6f92548 (patch)
treec5d847af5fbb9733a406251c3575bc912da0ab17 /src/removeoverlap/remove_rectangle_overlap-test.cpp
parentpatch 1484602 by Niko Kiirala (diff)
downloadinkscape-0623102c16ecbf5ade1a7ef195659826a6f92548.tar.gz
inkscape-0623102c16ecbf5ade1a7ef195659826a6f92548.zip
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)
Diffstat (limited to 'src/removeoverlap/remove_rectangle_overlap-test.cpp')
-rw-r--r--src/removeoverlap/remove_rectangle_overlap-test.cpp2
1 files changed, 1 insertions, 1 deletions
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] )));