Commit Graph
42 Commits
Author SHA1 Message Date
teseoch 1225b8d5a9 Merge pull request #994 from xarthurx/dev
fix segments_intersection bug.
2018-11-12 14:47:34 -05:00
x.ZM de180a073f fix: move return value downwards + change tabs to 2-space. 2018-11-10 14:48:57 +01:00
ikoruk b7124f179f add unit tests for embree (#952)
* add unit tests for embree

* discovered bug with intersect beam and wrote unit test for the fix

* Update EmbreeIntersector.cpp

updated test to catch2

* Update CMakeLists.txt

removed tab to rerun CI

* Update CMakeLists.txt

* Update CMakeLists.txt

* caching value of BUILD_TESTING before resetting it

* Try to build embree statically on Windows.

* Try to enable testing early on.

* Update Catch2 version.

* Set CMake build type.

* Trying to build embree statically.

* Fix static compilation of embree on Windows.

* Cleanup.
2018-11-04 11:00:35 -05:00
x.ZM 33510d9f1b fix: segments intersection bug.
Unit test also added.
2018-11-03 16:44:22 +01:00
Teseo Schneider 1c3c7c7b6f ported new tests to catch2 2018-10-29 16:39:58 -04:00
teseoch 6f41773f47 Merge branch 'dev' into catch2 2018-10-29 15:59:34 -04:00
Alec Jacobson 788f0bc2f2 Merge branch 'dev-intrinsic-delaunay' of https://github.com/libigl/libigl into dev-intrinsic-delaunay 2018-10-28 22:11:32 -04:00
Alec Jacobson ce2eaf8fc9 don't consider i==j 2018-10-28 22:08:03 -04:00
Alec Jacobson 3593e5ca8b fix reverse sort order on linux 2018-10-28 21:56:24 -04:00
Alec Jacobson 894a51f132 sorts may differ 2018-10-28 21:48:22 -04:00
Alec Jacobson 44f93fa0d9 intrinsic gradient operator + test 2018-10-28 19:58:38 -04:00
Alec Jacobson b5a0619ae2 clean up grad and add test 2018-10-28 19:30:16 -04:00
Alec Jacobson e5c78841a8 grad test 2018-10-28 19:11:09 -04:00
Alec Jacobson fbd4eb8457 Merge branch 'dev-delaunay-tests-attempt-2' of https://github.com/libigl/libigl into dev-intrinsic-delaunay 2018-10-28 15:47:07 -04:00
Alec Jacobson 918061f1dc revert accidental change to cgal unit test 2018-10-28 15:43:05 -04:00
Alec Jacobson 3edbcc8662 merge 2018-10-28 15:41:17 -04:00
Alec Jacobson 5fe542d003 intrinsic delaunay cotmatrix + test 2018-10-26 18:26:06 -04:00
Alec Jacobson beb304e729 cotmatrix computed intrinsically (using edge lengths) + templates + tests 2018-10-26 23:16:00 +02:00
Alec Jacobson c1de27fbf0 function to determine if edge already exists nearby + test 2018-10-26 22:03:25 +02:00
Alec Jacobson 0e04d631b1 reinstate tet test 2018-10-26 21:38:56 +02:00
Alec Jacobson 7b7086162f refactor and added extra while loop 2018-10-26 20:57:42 +02:00
Kacper Pluta 75d60e40a8 Documentation and code clean ups (MIQ related) (#971)
* remove commented code

* typo

* clean up list of the arguments

* typo

* typos and different names

* rename files due to a typo and remove double include

* remove comments that do not document the code but are used to comment out code or to store TODOs that should not be placed in the code, anyway.

* clean up the documentation

* remove commented code

* add information to the doc

* improve readability of the code

* typo and a missing space

* fix a typo: missmatch -> mismatch

* remove unnecessary header files

* typos

* changed to camel notation

* clean up

* typo

* add limitations into the documentation

* camelCase

* lost refactor

* unify the variable's names

* clean up

* clean up

* missed refactor

* clean up

* name in the doc

* name in the doc

* further nameing convention changes

* refactored names missed by clion.

* unify names

* align the constructor's args
2018-10-24 13:30:58 -04:00
Teseo Schneider 49a74590d4 cleand cmake and added INSTANTIATE_TEST_CASE_P 2018-10-22 16:05:42 -04:00
Alec Jacobson e452f5c8c3 add link condition + new tests 2018-10-21 06:52:51 +02:00
Alec Jacobson be75695e02 circulation does not need F,E args + tests 2018-10-21 06:50:37 +02:00
Alec Jacobson e930df68d1 added intrinsic version of cotmatrix_entries + test 2018-10-20 13:22:27 -04:00
Alec Jacobson 7c214ce04a intrinsic delaunay (re-)triangulation [Fisher 2007] + tests 2018-10-20 13:14:48 -04:00
Alec Jacobson 0eb3fa2acb triangulated grid + test 2018-10-20 13:01:41 -04:00
Alec Jacobson ee3d3a373d cumulative product; tests + cumsum test 2018-10-20 12:18:42 -04:00
Alec Jacobson 2e91bb3a00 generalize grid to any dimension; 2d test 2018-10-20 12:13:26 -04:00
Alec Jacobson 7401f5b650 grid test 2018-10-20 12:12:24 -04:00
Alec Jacobson 56e0642fbb intrinsic delaunay and corresponding test 2018-10-19 18:36:37 -04:00
Teseo Schneider aa40b908c9 updated gtest to catch 2018-10-19 17:46:41 -04:00
Alec Jacobson 79a1d67a7f fix infinite loop 2018-10-19 08:24:59 -04:00
Alec Jacobson 3e203ac69e Update unique_simplices.cpp
fix infinite loop
2018-10-19 08:24:13 -04:00
Alec Jacobson 71508b1b30 delaunay unit tests, expose is_delaunay, templates, PlainObject -> Matrix 2018-10-18 19:53:29 -04:00
Qingnan Zhou e6116bf9dd Bug fix in unit test. (#944) 2018-10-16 09:15:43 -04:00
Qingnan Zhou ae3df06258 Remove a cgal unit test temporarily. (#943)
Former-commit-id: 8df208b5f1ad712d5fc5003a1fe7534a5a7cca62
2018-10-15 13:04:01 -04:00
Qingnan Zhou 10200efa2b Unittests!! (#928)
* Migrate unit tests back to the main repo.

* Minor bug fixes and getting unit test migrated.


Former-commit-id: 823ef3e404
2018-10-15 09:12:38 -04:00
Alec Jacobson 960dd6a25d moved tests to separate repo
Former-commit-id: 6647a0fe99
2015-09-24 09:11:05 -04:00
Qingnan Zhou 497ff5bbc1 Added more unit tests for mesh boolean.
Former-commit-id: 7a5b260595
2015-09-23 11:54:42 -04:00
Qingnan Zhou 6536c33d1c Check in unittest directory setup and a few tests.
Former-commit-id: 6c287b132f
2015-09-14 13:02:02 -04:00