From 119a18847b35a1d66f68a10b04cb6f4e353ceb75 Mon Sep 17 00:00:00 2001 From: Michael Hemmer Date: Fri, 12 Feb 2010 17:40:17 +0000 Subject: [PATCH] minor --- .../include/CGAL/Test/_test_convert_to_bfi.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Interval_support/include/CGAL/Test/_test_convert_to_bfi.h b/Interval_support/include/CGAL/Test/_test_convert_to_bfi.h index 15ea10f8e8f..8328833a8ec 100644 --- a/Interval_support/include/CGAL/Test/_test_convert_to_bfi.h +++ b/Interval_support/include/CGAL/Test/_test_convert_to_bfi.h @@ -47,7 +47,11 @@ template void test_convert_to_bfi_from(BFI,From){ typedef typename CGAL::Coercion_traits::Type CT_type; BOOST_STATIC_ASSERT(( ::boost::is_same::value)); - assert(CGAL::convert_to_bfi(From(1)) == BFI(1)); + assert(CGAL::convert_to_bfi(From(0)) == BFI(0)); + assert(CGAL::convert_to_bfi(From(1)) == BFI(1)); + assert(CGAL::convert_to_bfi(From(2)) == BFI(2)); + assert(CGAL::convert_to_bfi(From(4)) == BFI(4)); + assert(CGAL::convert_to_bfi(From(-8)) == BFI(-8)); return; }; @@ -58,10 +62,11 @@ void test_convert_to_bfi(){ typedef typename AK::Rational Rational; typedef typename AK::Field_with_sqrt Field_with_sqrt; // may be Null_tag typedef CGAL::Sqrt_extension EXT; - test_convert_to_bfi_from(BFI(),Integer()); - test_convert_to_bfi_from(BFI(),Rational()); - test_convert_to_bfi_from(BFI(),Field_with_sqrt()); - test_convert_to_bfi_from(BFI(),EXT()); + + test_convert_to_bfi_from( BFI() , Integer()); + test_convert_to_bfi_from( BFI() , Rational()); + test_convert_to_bfi_from( BFI() , Field_with_sqrt()); + test_convert_to_bfi_from( BFI() , EXT()); } CGAL_END_NAMESPACE