various minor updates of some unit tests

This commit is contained in:
Gael Guennebaud
2009-05-11 11:09:41 +00:00
parent 6a4e94f349
commit 9b256d997e
4 changed files with 14 additions and 5 deletions

View File

@@ -63,6 +63,13 @@ template<typename BoxType> void alignedbox(const BoxType& _box)
VERIFY_IS_APPROX(hp1f.template cast<Scalar>(),b0);
AlignedBox<Scalar,Dim> hp1d = b0.template cast<Scalar>();
VERIFY_IS_APPROX(hp1d.template cast<Scalar>(),b0);
// alignment -- make sure there is no memory alignment assertion
BoxType *bp0 = new BoxType(dim);
BoxType *bp1 = new BoxType(dim);
bp0->extend(*bp1);
delete bp0;
delete bp1;
}
void test_geo_alignedbox()