star-cad

Geometric operators for computer-aided design
git clone git://git.meso-star.fr/star-cad.git
Log | Files | Refs | README | LICENSE

commit dfedf8d7d07cf1e99f54f7514d07b54a5a9496d8
parent da248b83d2b816055a67a3c7f434f8a889ddff05
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Mon,  3 Apr 2023 16:10:03 +0200

Fix API test (scad_step_import with NULL name is now allowed)

Diffstat:
Msrc/test_api.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/test_api.c b/src/test_api.c @@ -229,7 +229,6 @@ main(int argc, char* argv[]) OK(scad_scene_write("/tmp/test.step")); BAD(scad_step_import(NULL, "step", &geom_array, &c)); - BAD(scad_step_import("/tmp/test.step", NULL, &geom_array, &c)); BAD(scad_step_import("/tmp/test.step", "step", NULL, &c)); BAD(scad_step_import("/tmp/test.step", "step", &geom_array, NULL)); ERR(scad_step_import("dont_exist.step", "step", &geom_array, &c));