Commit Graph

8 Commits

Author SHA1 Message Date
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
96b08ee75c Add new function Triangle::CircumcicleContains 2019-02-21 14:34:37 +01:00
Jan Niklas Hasse
a9d2cf8636 Add very simple unit test 2018-05-28 19:55:02 +02:00