Tom Hulton-Harrop
567f5ffd0a
update testbed and unittest to adapt to span changes
2023-04-23 20:02:13 +01:00
AndriyAndreyev
563239da07
Add unittest to check stack overflow crash
...
Signed-off-by: AndriyAndreyev <andriy.a.andreyev@gmail.com>
2022-05-06 00:52:07 +03:00
Pierre Dejoue
de70670221
Test polygons from issue #10
2022-05-02 09:35:51 +02:00
Roy Stogner
19ec7c78a1
ConcaveBoundaryTest unit test
...
This is from the case I originally got to trigger the problem. We could
probably boil it down to something smaller (by temporarily reverting the
Orient2d change to make sure the failure still occurs) but this doesn't
seem too bloated for a unit test as-is.
2022-03-15 20:37:14 -05:00
Roy Stogner
cc1e657107
NarrowQuadTest triangulation succeeds now
2022-03-15 20:36:53 -05:00
Pierre Dejoue
1054475eeb
Triangle::NeighborAcross to return a pointer
...
Same as Triangle::NeighborCW and Triangle::NeighborCCW
2020-10-26 20:58:23 +01:00
Pierre Dejoue
5aa0c22365
Add headers in project files generated by cmake
2020-10-26 12:07:44 +01:00
Jan Niklas Hasse
c4404a73fb
Avoid redefinition of BOOST_TEST_DYN_LINK
2020-10-25 20:53:39 +01:00
Pierre Dejoue
7125fdb13b
Add CMake files for the unit tests
...
- Building unit tests is optional, disabled by default to prevent
the library clients from pulling the dependency on boost
- Add the unit tests to the Github Actions.
- Use boost::filesystem to manipulate paths for better portability
2020-08-27 19:16:17 +02:00
Pierre Dejoue
2c6bec64c0
Throw in Triangle::NeighborAcross in case of null pointer
...
Add an example quad for which the exception is throwni in the tests
2020-08-06 19:36:59 +02:00
Jan Niklas Hasse
5a171da044
Add missing include for GCC 9.1
2019-06-11 12:06:01 +02:00
Jan Niklas Hasse
3a2db01407
Create path for TestbedFilesTest relative to build folder
2019-03-12 13:38:06 +01:00
Jan Niklas Hasse
0898bb217d
Add function IsDelaunay to check if results are valid
2019-02-21 14:42:20 +01:00
Jan Niklas Hasse
a9d2cf8636
Add very simple unit test
2018-05-28 19:55:02 +02:00