import/export emptymatrix
[scilab.git] / scilab / modules / hdf5 / tests / unit_tests / loadhdf5data.tst
index 79160de..0f55aa9 100644 (file)
@@ -8,6 +8,10 @@
 // Load previously saved data (check backward compatibility)
 
 
+///// Empty matrix
+import_from_hdf5(SCI+"/modules/hdf5/tests/sample_scilab_data/emptymatrix.sod");
+assert_checkequal(emptymatrix, []);
+
 ///// Double
 import_from_hdf5(SCI+"/modules/hdf5/tests/sample_scilab_data/matricedoublescalar.sod");
 assert_checkequal(ascalar,42);