Commit Graph

343 Commits

Author SHA1 Message Date
Laurent Rineau fc2b8d8548 Merge pull request #7611 from lrineau/Triangulation_3-fix_traverser_testsuite_cpp17-lrineau
Triangulation_3: the testsuite of the simplex traverser needs C++17
2023-07-26 17:34:31 +02:00
Laurent Rineau 15968e2d49 Need C++17
`test_simplex_iterator_3.cpp` and
`test_segment_simplex_traverser_3.cpp` require C++17.
2023-07-20 10:54:02 +02:00
Laurent Rineau d10e9387c2 Merge branch 'master' into CGAL-add_missing_test
# Conflicts:
#	STL_Extension/test/STL_Extension/test_skiplist.cpp
2023-07-12 15:48:42 +02:00
Laurent Rineau 04077e9f4f Merge pull request #7535 from lrineau/Triangulation_3-fix_simplex_traverser-GF-CGAL-5.6
fix simplex traverser for CGAL 5.6
2023-07-05 16:32:36 +02:00
Sébastien Loriot 68813c5c63 Merge pull request #7403 from sloriot/CGAL-replace_boost_by_std
Replace boost by std
2023-07-05 11:08:36 +02:00
Andreas Fabri 00b540d791 Fix precomputed data 2023-06-29 15:34:03 +01:00
Sébastien Loriot efd8b2d38b add more missing tests 2023-06-27 11:18:20 +02:00
Laurent Rineau ad9efd0e18 Merge branch '5.6.x-branch' into Triangulation_3-fix_simplex_traverser-GF-CGAL-5.6
# Conflicts:
#	STL_Extension/include/CGAL/Base_with_time_stamp.h
#	Triangulation_3/include/CGAL/Triangulation_3/internal/Triangulation_segment_traverser_3_impl.h
#	Triangulation_3/test/Triangulation_3/CMakeLists.txt
2023-06-20 16:03:30 +02:00
Laurent Rineau fe0dc127a3 if-guard about C++17 2023-06-20 15:14:01 +02:00
Laurent Rineau 367466c434 Merge branch '5.5.x-branch' into Triangulation_3-fix_simplex_traverser-GF 2023-06-20 14:48:05 +02:00
Laurent Rineau 94a1d7efdb add special test cases 2023-06-19 17:06:31 +02:00
Laurent Rineau e936fcb36b factorize the debug function helpers 2023-06-18 21:20:19 +02:00
Laurent Rineau 5a0c09d667 factorize/reformat the code
The cases `chnext == {}` and `chnext != {}` were actually very
similar.
2023-06-16 17:48:32 +02:00
Laurent Rineau 5c81b975ae triangulation() is now a reference 2023-06-16 15:33:02 +02:00
Laurent Rineau 461b7689ea change the display of the test file 2023-06-16 15:00:29 +02:00
Laurent Rineau a2a736d074 fix last bug in the test file 2023-06-16 12:48:39 +02:00
Sébastien Loriot f936680600 Merge remote-tracking branch 'cgal/master' into HEAD 2023-06-15 18:48:39 +02:00
Laurent Rineau a4a1e51e02 implementation permutations... and tests fail! 2023-06-15 17:25:16 +02:00
Laurent Rineau 8e7460108f fix case I131I
The test case was wrong, because of non-exact floating points values,
in decimal.

All implemented test cases pass, now. And we do not expect missing
test cases.

Now, I should implement permutations of the four vertices of the tet.
2023-06-15 17:06:08 +02:00
Laurent Rineau c7130e0c58 fix test case 131I 2023-06-15 16:41:07 +02:00
Laurent Rineau 4f20dc0f44 fix case 31 2023-06-15 15:50:51 +02:00
Laurent Rineau bec374fc86 add comments: actually only one missing case 2023-06-15 14:28:02 +02:00
Laurent Rineau f75f642b21 all test cases pass!!
(this commit is a cosmetic change)

All test cases pass, but:
  - there are TODOs (missing cases 031, 030, 130, and 131.
  - we should test with permutations of the four vertices
2023-06-15 13:21:11 +02:00
Laurent Rineau 6525e46d58 fix test case 232I
the test case was wrong
2023-06-15 13:17:05 +02:00
Laurent Rineau a26351455b Add comments about missing cases 2023-06-15 10:23:01 +02:00
Laurent Rineau 7b039e3761 fix test cases for I032I, and I03
`-.1`, and `.8` are not floating point values.

I have used `.125` (1/8) and `.5` instead.
2023-06-14 17:57:50 +02:00
Laurent Rineau 311b04a0a7 bug-fix for case "0323 with bbox"
The test-case was wrong.
2023-06-13 17:32:29 +02:00
Sébastien Loriot 8f54a3aa06 add missing test 2023-06-13 14:38:48 +02:00
Sébastien Loriot 2251c438fa enable exact serialization of triangulations with EPECK 2023-06-13 14:30:01 +02:00
Laurent Rineau d6f6096518 test intersection before the other lines that may swap simplices 2023-06-12 16:38:42 +02:00
Jane Tournois c7f75a9030 wip fixes for simplex traverser
* test_segment_simplex_traverser_3 first failing test is now "032"
* the geometric intersection test fails because of doubles
2023-05-16 18:35:54 +02:00
Laurent Rineau 2b94f06f57 Remove trailing whitespces 2023-05-11 16:32:34 +02:00
Laurent Rineau 7260a9497c Add debug tool
Protected by the macro CGAL_DEBUG_TRIANGULATION_SEGMENT_TRAVERSER_3
2023-05-11 16:18:16 +02:00
Laurent Rineau 152f0038fb improve the test process
- call the API with two vertex handles, when possible,
- add a check that the reported simplices intersect the query segment,
- add a chech that two consecutive simplices are incident.
2023-05-11 15:12:39 +02:00
Laurent Rineau 5a9d6d4998 cosmetic changes 2023-05-11 15:04:46 +02:00
Laurent Rineau 6325190a73 even more test cases 2023-05-09 12:35:09 +02:00
Laurent Rineau 4a0b1477f9 new test cases 2023-05-05 16:55:04 +02:00
Laurent Rineau 2220a1815a arg, a trailing whitespace! 2023-05-05 15:42:43 +02:00
Laurent Rineau 36b3491672 add a new test case vfefv for the simplex traverser
For the moment, that new test fails.
2023-05-05 15:30:43 +02:00
Sébastien Loriot 7b85df810d boost::add_const -> std::add_const 2023-04-23 22:37:07 +02:00
Sébastien Loriot 99e7f4806a boost::int -> std::int 2023-04-23 18:43:10 +02:00
Laurent Rineau 2f0203be10 Merge pull request #7255 from lrineau/CGAL-rename_ctest_test_names-GF
CGAL CTest support: rename the test names

# Conflicts:
#	Mesh_3/test/Mesh_3/CMakeLists.txt
2023-03-15 14:23:32 +01:00
Laurent Rineau efe3822f33 Merge pull request #7115 from MaelRL/T3-test_cleaning-GF
(Partial) Cleaning of Triangulation_3 tests
2023-03-02 13:42:29 +01:00
Laurent Rineau 6df18b668c CGAL CTest support: rename the test names
Now that CTest test names can contain whitespace, we can have
better looking names. That is also more practicle because we can now
copy-paste the target name in `compilation of  <target_name>`.
2023-02-06 12:04:57 +01:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
Mael fe8262b85a
Merge branch 'master' into T3-test_cleaning-GF 2023-01-27 21:49:54 +01:00
Mael Rouxel-Labbé ecced44ee7 Various test cleaning / improvements for Triangulation_3 2022-12-12 16:07:21 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
albert-github c32b1f4127 spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
2022-11-16 13:22:39 +01:00
Andreas Fabri c29f2cac52 Triangulation_3, Visibility_2 2022-10-13 07:55:32 +01:00