diff options
| author | Ted Gould <ted@gould.cx> | 2008-10-27 18:03:09 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2008-10-27 18:03:09 +0000 |
| commit | 7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902 (patch) | |
| tree | 7d3a2b95b84a03a19cb132cdf88bea0ab6dc4773 /src/display/bezier-utils-test.cpp | |
| parent | Merging from trunk (diff) | |
| download | inkscape-7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902.tar.gz inkscape-7dbe11bc23efa5f51a9b84e7d0f6dd16e63e0902.zip | |
From trunk
(bzr r6885)
Diffstat (limited to 'src/display/bezier-utils-test.cpp')
| -rw-r--r-- | src/display/bezier-utils-test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/display/bezier-utils-test.cpp b/src/display/bezier-utils-test.cpp index edeb9e3b7..4d6313886 100644 --- a/src/display/bezier-utils-test.cpp +++ b/src/display/bezier-utils-test.cpp @@ -7,7 +7,7 @@ #define's and `using' directives of the included file. */ #include "bezier-utils.cpp" -using NR::Point; +using Geom::Point; static bool range_approx_equal(double const a[], double const b[], unsigned len); @@ -22,9 +22,9 @@ static bool range_equal(T const a[], T const b[], unsigned len) { return true; } -inline bool point_approx_equal(NR::Point const &a, NR::Point const &b, double const eps) +inline bool point_approx_equal(Geom::Point const &a, Geom::Point const &b, double const eps) { - using NR::X; using NR::Y; + using Geom::X; using Geom::Y; return ( NR_DF_TEST_CLOSE(a[X], b[X], eps) && NR_DF_TEST_CLOSE(a[Y], b[Y], eps) ); } @@ -86,7 +86,7 @@ int main(int /*argc*/, char */*argv*/[]) { utest_start("bezier-utils.cpp"); UTEST_TEST("copy_without_nans_or_adjacent_duplicates") { - NR::Point const src[] = { + Geom::Point const src[] = { Point(2., 3.), Point(2., 3.), Point(0., 0.), |
