picogl.examples.test_legacy_glmesh_fix ====================================== .. py:module:: picogl.examples.test_legacy_glmesh_fix .. autoapi-nested-parse:: Test script to verify the LegacyGLMesh fix This script tests that the LegacyGLMesh constructor properly handles the case where faces is None and doesn't cause an AttributeError. Functions --------- .. autoapisummary:: picogl.examples.test_legacy_glmesh_fix.test_legacy_glmesh_with_faces picogl.examples.test_legacy_glmesh_fix.test_legacy_glmesh_without_faces picogl.examples.test_legacy_glmesh_fix.test_legacy_glmesh_empty_faces picogl.examples.test_legacy_glmesh_fix.main Module Contents --------------- .. py:function:: test_legacy_glmesh_with_faces() Test LegacyGLMesh with faces (should work) .. py:function:: test_legacy_glmesh_without_faces() Test LegacyGLMesh without faces (should raise ValueError, not AttributeError) .. py:function:: test_legacy_glmesh_empty_faces() Test LegacyGLMesh with empty faces (should raise ValueError) .. py:function:: main() Run all tests