diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-07-11 18:11:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-07-11 18:11:47 +0200 |
commit | fd60966310afdc17bfb07ea3dab7478e190928d3 (patch) | |
tree | 681c22298bc54d489b7db74be411808452196fca /test | |
parent | 2f7e2614e773dde8a84156b4e3864474af8b53d6 (diff) | |
parent | 7d636349dc78647b5c5880a140e6e885db96383e (diff) |
merge
Diffstat (limited to 'test')
-rw-r--r-- | test/geo_alignedbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index ba3378aab..d2339a651 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -49,7 +49,7 @@ template<typename BoxType> void alignedbox(const BoxType& _box) b0.extend(p1); VERIFY(b0.contains(p0*s1+(Scalar(1)-s1)*p1)); VERIFY(b0.contains(b0.center())); - VERIFY(b0.center()==(p0+p1)/Scalar(2)); + VERIFY_IS_APPROX(b0.center(),(p0+p1)/Scalar(2)); (b2 = b0).extend(b1); VERIFY(b2.contains(b0)); |