Revert http://codereview.scilab.org/#/c/8967/13 86/9086/2
Vincent COUVERT [Thu, 20 Sep 2012 15:26:30 +0000 (17:26 +0200)]
Change-Id: I2123e15a011d1167097fb6487497dcfb72021d2e

scilab/modules/string/tests/unit_tests/isnum.tst

index 7fdad4a..277142e 100644 (file)
@@ -7,36 +7,36 @@
 
 // <-- CLI SHELL MODE -->
 
-if ~csv_isnum('%pi')       then pause, end
+if ~isnum('%pi')       then pause, end
 
-if ~csv_isnum('1')         then pause, end
-if ~csv_isnum('1.2')       then pause, end
-if ~csv_isnum('+1.2')      then pause, end
-if ~csv_isnum('-1.2')      then pause, end
+if ~isnum('1')         then pause, end
+if ~isnum('1.2')       then pause, end
+if ~isnum('+1.2')      then pause, end
+if ~isnum('-1.2')      then pause, end
 
-if ~csv_isnum('1e2')       then pause, end
-if ~csv_isnum('1d2')       then pause, end
-if ~csv_isnum('1E2')       then pause, end
-if ~csv_isnum('1D2')       then pause, end
+if ~isnum('1e2')       then pause, end
+if ~isnum('1d2')       then pause, end
+if ~isnum('1E2')       then pause, end
+if ~isnum('1D2')       then pause, end
 
-if ~csv_isnum('1e+2')      then pause, end
-if ~csv_isnum('1e-2')      then pause, end
-if ~csv_isnum('+1e+2')     then pause, end
-if ~csv_isnum('-1e+2')     then pause, end
+if ~isnum('1e+2')      then pause, end
+if ~isnum('1e-2')      then pause, end
+if ~isnum('+1e+2')     then pause, end
+if ~isnum('-1e+2')     then pause, end
 
-if ~csv_isnum('-12e+3')    then pause, end
+if ~isnum('-12e+3')    then pause, end
 
-if ~csv_isnum('-1.2e+3')   then pause, end
-if ~csv_isnum('-1.2e+345') then pause, end
+if ~isnum('-1.2e+3')   then pause, end
+if ~isnum('-1.2e+345') then pause, end
 
-if csv_isnum('a')          then pause, end
-if csv_isnum('e')          then pause, end
-if csv_isnum('d')          then pause, end
-if csv_isnum('E')          then pause, end
-if csv_isnum('e')          then pause, end
+if isnum('a')          then pause, end
+if isnum('e')          then pause, end
+if isnum('d')          then pause, end
+if isnum('E')          then pause, end
+if isnum('e')          then pause, end
 
-if csv_isnum('-1.2a+345')  then pause, end
-if ~csv_isnum('-1.2e+3+45') then pause, end
-if ~csv_isnum('-1.2e+3-45') then pause, end
+if isnum('-1.2a+345')  then pause, end
+if ~isnum('-1.2e+3+45') then pause, end
+if ~isnum('-1.2e+3-45') then pause, end
 
-if execstr("csv_isnum(1)","errcatch") == 0 then pause, end
+if execstr("isnum(1)","errcatch") == 0 then pause, end