diff options
author | simon | 2009-07-21 09:04:43 +0000 |
---|---|---|
committer | simon | 2009-07-21 09:04:43 +0000 |
commit | 90c57bb4baa9bf4b947c468bd79b51e1d68bd4c4 (patch) | |
tree | d26feec9103120b1caa7416a0360c6254bc2fbcc /tests/unit_tests/test_double_Lev.sci | |
parent | 001695a6f08c384fd86ddac3796acf905c5a5617 (diff) | |
download | scilab2c-90c57bb4baa9bf4b947c468bd79b51e1d68bd4c4.tar.gz scilab2c-90c57bb4baa9bf4b947c468bd79b51e1d68bd4c4.tar.bz2 scilab2c-90c57bb4baa9bf4b947c468bd79b51e1d68bd4c4.zip |
added test for Lev function
updated INIT_FillSCI2LibCDirs
Diffstat (limited to 'tests/unit_tests/test_double_Lev.sci')
-rw-r--r-- | tests/unit_tests/test_double_Lev.sci | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/unit_tests/test_double_Lev.sci b/tests/unit_tests/test_double_Lev.sci new file mode 100644 index 00000000..d1669822 --- /dev/null +++ b/tests/unit_tests/test_double_Lev.sci @@ -0,0 +1,31 @@ +function test_double_Lev() + + a = [1 2 3 4 5 6 7 8 9 10] ; + + disp(lev(a)) ; + + [aa aaa] = lev(a); + disp(aa); + disp(aaa) + + [a1 aa1 aaa1] = lev (a); + disp(a1); + disp(aa1); + disp(aaa1); + +// complex + b =%i * [1 2 3 4 5 6 7 8 9 10] ; + + disp(lev(b)) ; + + [bb bbb] = lev(b); + disp(bb); + disp(bbb) + + [b1 bb1 bbb1] = lev (b); + disp(b1); + disp(bb1); + disp(bbb1); + + +endfunction |