diff --git a/tests/models/solid_one_facet.be_stlb b/tests/models/solid_one_facet.be_stlb new file mode 100644 index 0000000..dbb338a Binary files /dev/null and b/tests/models/solid_one_facet.be_stlb differ diff --git a/tests/test_stl_io.c b/tests/test_stl_io.c index 16078b5..33fcef4 100644 --- a/tests/test_stl_io.c +++ b/tests/test_stl_io.c @@ -110,6 +110,11 @@ const char* test_stl_read() GMIO_STL_FORMAT_BINARY_LE, NULL }, + { "models/solid_one_facet.be_stlb", + GMIO_ERROR_OK, + GMIO_STL_FORMAT_BINARY_BE, + NULL + }, { "models/solid_one_facet_uppercase.stla", GMIO_ERROR_OK, GMIO_STL_FORMAT_ASCII, @@ -220,6 +225,12 @@ void generate_stlb_tests_models() &mesh, NULL, NULL); + gmio_stl_write_file( + GMIO_STL_FORMAT_BINARY_BE, + "models/solid_one_facet.be_stlb", + &mesh, + NULL, + NULL); } }