changeset 10966:f2999b701f30 octave-forge

isdicom: Oops. Replace the tests at the end of the file that were removed in the last revision.
author adam78a
date Thu, 27 Sep 2012 23:04:48 +0000
parents f557ef28f224
children cd846daf976e
files extra/dicom/inst/isdicom.m
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extra/dicom/inst/isdicom.m	Thu Sep 27 22:58:09 2012 +0000
+++ b/extra/dicom/inst/isdicom.m	Thu Sep 27 23:04:48 2012 +0000
@@ -148,3 +148,10 @@
 
 end %function
 
+%!test
+%! addpath('../inst'); % so it can find the dictionary, and m files
+%! assert(isdicom('../dcm_examples/RD.15MV.DCM'));
+%!test
+%! addpath('../inst');
+%! assert(~isdicom('../inst/isdicom.m'));
+