// ============================================================================ // // Copyright (c) 1999 The CGAL Consortium // // This software and related documentation is part of an INTERNAL release // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // // ---------------------------------------------------------------------------- // // release : // release_date : // // file : test_kernel__.C // revision : $Revision$ // revision_date : $Date$ // author(s) : Stefan Schirra // // // coordinator : MPI, Saarbruecken // ============================================================================ #include #include #include #include #include #include #include #include #include #include #include #ifdef CGAL_USE_GMP # include #endif #ifdef CGAL_USE_LEDA # include #endif int main() { std::cout << "Testing miscellaneous" << std::endl; typedef CGAL::Homogeneous H_Cls; typedef CGAL::Simple_homogeneous SH_Cls; typedef CGAL::Cartesian > C_Cls; typedef CGAL::Simple_cartesian > SC_Cls; _test_cls_object( C_Cls() ); _test_cls_object( H_Cls() ); _test_cls_object( SC_Cls() ); _test_cls_object( SH_Cls() ); _test_cls_quotient( int(1) ); _test_cls_quotient( double(1.0) ); _test_cls_quotient( long(1) ); _test_cls_quotient( short(1) ); _test_fct_determinant( Precise_integer(1) ); _test_fct_point_conversion( int(1) ); _test_fct_point_conversion( double(1.0) ); #ifdef CGAL_USE_GMP _test_cls_quotient( CGAL::Gmpz(1) ); _test_fct_point_conversion( CGAL::Gmpz(1) ); #endif #ifdef CGAL_USE_LEDA _test_cls_quotient( leda_integer(1) ); _test_fct_point_conversion( leda_integer(1) ); #endif _test_cls_quotient( CGAL::MP_Float(1) ); _test_fct_point_conversion( CGAL::MP_Float(1) ); return 0; }