Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01:00
Laurent Rineau
80717c6f41
Merge pull request #3406 from mglisse/cgal-public-dev/Number_types-boost_mp-glisse-2
...
Support Boost.Multiprecision
2019-01-18 16:37:49 +01:00
Laurent Rineau
79a5ab16db
Fix whitespace
2018-10-18 13:50:30 +00:00
Guillaume Damiand
0c2dcf7208
Re-add include({CGAL_USE_FILE} ) in each CMakeLists.txt where CGAL is used with some component.
2018-10-18 14:38:42 +02:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Marc Glisse
80cb903b9e
Missing include.
2018-10-15 20:35:10 +02:00
Andreas Fabri
dfac81140d
Use CGAL_USE_TYPE()
2018-03-23 10:02:07 +01:00
Andreas Fabri
b48703bc13
Use CGAL_USE_TYPE
2018-03-21 08:23:08 +01:00
Andreas Fabri
579b737fa8
Do not swap the pair in the testsuite
2018-03-16 21:40:24 +01:00
Andreas Fabri
4c2b278f04
Algebraic_kernel_d
2018-01-24 10:26:27 +00:00
Laurent Rineau
3c6640bf59
Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
...
Renewal of CMake scripts: header-only, ctest, CMake>=3.1
# Conflicts:
# Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Laurent Rineau
21b9a2177d
Do not use the CGAL-components syntax for GMP, MPFR, MPFI, and RS3
2017-11-23 17:06:46 +01:00
Sébastien Loriot
72cda50a5e
fix incorrect LGPL version tags
2017-11-12 10:17:52 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
3e0ab881c1
Merge pull request #1584 from afabri/Installation-compute_dependencies-GF
...
Make Algebraic_kernel_d independent from CGAL/Arr_enum.h
2016-10-20 09:47:42 +02:00
Andreas Fabri
b87b4a6031
Use Box_parameter_space_2 in the testprogram
2016-10-18 08:39:56 +02:00
Andreas Fabri
82d72949af
what did I do
2016-10-13 10:36:17 +02:00
Andreas Fabri
21209d97b2
CGAL_USE_TYPE() to avoid warnings
2016-10-13 10:19:10 +02:00
Sébastien Loriot
7e2ee496de
update project name of cmake scripts of tests
2016-09-08 00:26:37 +02:00
Andreas Fabri
1b0f79c870
#ifdef cyclic.cpp
2016-01-29 14:21:28 +01:00
Andreas Fabri
87f67d99df
Add a reduced program that illustrates the cyclic leak
2016-01-27 17:25:36 +01:00
Laurent Rineau
f9917c487e
CMake 2.8.11
2015-07-13 12:36:43 +02:00
Sébastien Loriot
d164633493
remove REQUIRED keyword
2015-07-07 11:23:46 +02:00
Laurent Rineau
36d8b5bd18
Convert source files encoding to utf-8
...
All non-ASCII files should be encoded in UTF-8. So far, the ZSH script
`Scripts/developer_scripts/detect_wrong_encoding` detects wrong encoding
in source/header files of include/, src/, and doc/.
2014-08-01 11:20:13 +02:00
Laurent Rineau
a8ff620f3f
Fix the remaining warnings on my platform
...
That was mostly "unused locally defined typedefs".
2014-04-01 14:50:51 +02:00
Laurent Rineau
afc7b8f777
Fix warnings (unused local typedef)
2014-04-01 14:49:49 +02:00
Laurent Rineau
6330632723
Fix various warnings about unused variables/types
2014-01-10 13:25:23 +01:00
Laurent Rineau
972befcc01
Merge branch 'CGAL-fix_io_bad-lrineau'
...
Fix the uses of std::basic_ios::bad() across the whole CGAL code, and
use fail() instead.
Tested in CGAL-4.4-Ic-84.
2014-01-09 17:52:46 +01:00
Laurent Rineau
19ecf8e545
Trivial fix of a warning
2014-01-06 15:59:30 +01:00
Luis Peñaranda
cad0a49f30
Revert "avoid more -Wall warnings in g++ 4.7"
...
This reverts commit ed04ff7c18 . Basically,
I changed in the reverted commit the assert() by CGAL_assertion(), and
added some CGAL_assertion_code().
2014-01-03 10:53:46 -03:00
Luis Peñaranda
77da387fe5
Test correctly inexact coefficient types.
...
The algebraic structure tests are performed following the exactness of
the coefficient type (it was assumed before that the type was exact). If
it is inexact, the polynomial traits are not tested to avoid wrong
errors.
2014-01-01 11:40:24 -03:00
Luis Peñaranda
352b029aab
fixed years-old bug in tests
...
The bug came from assuming that the bound type was exact. Now, the
algebraic structure of the bound type can be correctly tested.
2013-12-30 23:53:16 -03:00
Laurent Rineau
269ae1ca61
Fix the uses of std::basic_ios::bad(), and use fail() instead.
...
bad() implies fail() but std::basic_ios::operator! is actually equivalent
to std::basic_ios::fail(), not bad().
For example,
std::ifstream is(argv[1]);
if (is.bad()) {
is probably wrong because, in case the file does not exist, only the failbit it set,
and not the badbit.
Other example:
double x;
is >> x;
If the stream 'is' does not contains a string that can represent a double,
then failbit is set (and maybe the eofbit if the stream is actually too
short), but not the badbit.
bad() can be used, in case fail() returned true, to discriminate between a
I/O error and a logical error.
See:
http://en.cppreference.com/w/cpp/io/basic_ios/operator_bool
http://en.cppreference.com/w/cpp/io/ios_base/iostate
2013-12-12 16:13:40 +01:00
Luis Peñaranda
25718cf66b
avoid some warnings with -Wunused-local-typedefs
...
also added the ability to log test time
2013-11-26 00:54:00 -02:00
Luis Peñaranda
112385eef0
added rational kernel
...
Given that the integer kernel works like a charm, I put the rational
one.
2013-11-23 02:44:59 -02:00
Luis Peñaranda
ed04ff7c18
avoid more -Wall warnings in g++ 4.7
2013-11-23 01:12:25 -02:00
Luis Peñaranda
dd5a60d1af
avoid one more warning
2013-11-23 00:23:44 -02:00
Luis Peñaranda
7f47236d30
avoided some warnings with -Wunused-local-typedefs
2013-11-22 01:44:43 -02:00
Luis Peñaranda
1d81d04fb4
fixed test program, which made testsuite fail
2013-11-20 12:05:13 -02:00
Luis Peñaranda
b9a3922f0f
Revert "uncommented a test which did not pass in the past"
...
This reverts commit 3f08a80977 .
2013-11-20 12:04:54 -02:00
Luis Peñaranda
3f08a80977
uncommented a test which did not pass in the past
2013-11-19 18:10:54 -02:00
Luis Peñaranda
fa7e46cf13
updated main test and removed other obsolete tests
2013-11-19 16:11:59 -02:00
Laurent Rineau
75067bd072
Fix several I/O issues with Apple-clang-3.2 and its libc++
2013-10-11 16:12:02 +02:00
Laurent Rineau
67a3824cec
Change permissions of files created by Andreas
2013-10-04 16:57:11 +02:00
Andreas Fabri
f37d2940b6
split one testcase as VC++ suffers from a combinatorial explosion
2013-09-25 15:04:35 +02:00
Sébastien Loriot
9fcf46e11a
replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
...
this should be the case, following our guidelines.
using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00
Andreas Fabri
4bbc6ddd39
static_casts, switching to size_t, comparing a pointer with NULL to avoid warnings
2013-02-15 09:27:15 +01:00
Andreas Fabri
28b5b64347
no need for a variable for the exception
2013-02-12 19:17:36 +01:00
Laurent Rineau
51ea960be6
Fix warnings about unused types or variables.
2013-02-08 16:50:02 +01:00
Sébastien Loriot
82b2ebc865
apply the cpp0x namespace renaming in all files
2012-12-19 11:33:17 +01:00