diff scripts/geometry/delaunay3.m @ 8153:ec0a13863eb7

Only run tests that depend on HDF5 and QHull if Octave was actually linked against these libraries.
author Soren Hauberg <hauberg@gmail.com>
date Fri, 26 Sep 2008 13:23:02 -0400
parents a1dbe9d80eee
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/geometry/delaunay3.m
+++ b/scripts/geometry/delaunay3.m
@@ -52,7 +52,7 @@
 
 endfunction
 
-%!test
+%!testif HAVE_QHULL
 %! x = [-1, -1, 1, 0, -1]; y = [-1, 1, 1, 0, -1]; z = [0, 0, 0, 1, 1];
 %! assert (sortrows (sort (delaunay3 (x, y, z), 2)), [1,2,3,4;1,2,4,5])