star-enclosures-3d

Extract enclosures from 3D geometry
git clone git://git.meso-star.fr/star-enclosures-3d.git
Log | Files | Refs | README | LICENSE

commit 97ecd7e9112100e70d63d506629b9358d733a776
parent b303d31011224d634cd694a79aa76dac7edf9dcc
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 31 Oct 2019 18:00:25 +0100

Add a missing CHK in a test

Diffstat:
Msrc/test_senc_inconsistant_cube.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test_senc_inconsistant_cube.c b/src/test_senc_inconsistant_cube.c @@ -126,7 +126,7 @@ test(const int convention) /* Should be made of the same triangles */ CHK(same); CHK(i ? reversed != fst_reversed : reversed == fst_reversed); - senc_enclosure_get_triangle_global_id(enclosure, i, &gid, &side); + CHK(senc_enclosure_get_triangle_global_id(enclosure, i, &gid, &side) == RES_OK); CHK(side == expected_side); } SENC(enclosure_ref_put(enclosure));