summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_double_OpApex.sci
diff options
context:
space:
mode:
authorjofret2009-06-19 15:24:22 +0000
committerjofret2009-06-19 15:24:22 +0000
commitdf3de1f888465b1adeb280647cf453f6c080735a (patch)
tree0bb72ec28114416079e45fd9388accb088841522 /tests/unit_tests/test_double_OpApex.sci
parent8097a3ab6e7b365908977bbc01bb673821172996 (diff)
downloadscilab2c-df3de1f888465b1adeb280647cf453f6c080735a.tar.gz
scilab2c-df3de1f888465b1adeb280647cf453f6c080735a.tar.bz2
scilab2c-df3de1f888465b1adeb280647cf453f6c080735a.zip
Intensive validation process
Diffstat (limited to 'tests/unit_tests/test_double_OpApex.sci')
-rw-r--r--tests/unit_tests/test_double_OpApex.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit_tests/test_double_OpApex.sci b/tests/unit_tests/test_double_OpApex.sci
new file mode 100644
index 00000000..77c04b70
--- /dev/null
+++ b/tests/unit_tests/test_double_OpApex.sci
@@ -0,0 +1,11 @@
+function test_double_OpApex()
+ d0 = %pi
+ d2 = [1 2 3 4 ; 5 6 7 8 ; 9 10 11 12 ; 13 14 15 16]
+ z0 = d0 + %i * d0
+ z2 = d2 + %i * d2
+
+ disp(d0')
+ disp(d2')
+ disp(z0')
+ disp(z2')
+endfunction