diff options
author | simon | 2009-07-17 13:35:52 +0000 |
---|---|---|
committer | simon | 2009-07-17 13:35:52 +0000 |
commit | 701816cbe04b14d1f38803778f2c65bc05ecfc67 (patch) | |
tree | c1325af3592dd3e789773c4a499cfa31c31380d2 | |
parent | 86ab283b92413fb31003ac20d54befe27051a7ef (diff) | |
download | scilab2c-701816cbe04b14d1f38803778f2c65bc05ecfc67.tar.gz scilab2c-701816cbe04b14d1f38803778f2c65bc05ecfc67.tar.bz2 scilab2c-701816cbe04b14d1f38803778f2c65bc05ecfc67.zip |
added test for disp
updated INIT_FillSCI2LibCDirsI
-rw-r--r-- | macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci | 2 | ||||
-rw-r--r-- | tests/unit_tests/test_double_Disp.sci | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index bf121416..9f7f412e 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -1895,7 +1895,7 @@ PrintStringInfo('z2'+ArgSeparator+'d0',ClassFileName,'file','y'); PrintStringInfo('g2'+ArgSeparator+'d0',ClassFileName,'file','y'); // --- Annotation Function And Function List Function. --- -FunctionName = 'disp'; +FunctionName = 'disp'; // AS : Done PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'both','y'); INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun); INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun); diff --git a/tests/unit_tests/test_double_Disp.sci b/tests/unit_tests/test_double_Disp.sci new file mode 100644 index 00000000..4d1f7185 --- /dev/null +++ b/tests/unit_tests/test_double_Disp.sci @@ -0,0 +1,13 @@ +function test_double_Disp () + + disp(4.5); + disp(4+3*%i); + disp("a"); + + disp([1 2 3 4 5 ; 6 7 8 9 10]); + disp(%i*[1 2 3 4 5 ; 6 7 8 9 10]); + disp("plop"); + + +endfunction + |