summaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/testLinearAlgebra/testspec/testspec.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci b/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
new file mode 100644
index 0000000..6e9346d
--- /dev/null
+++ b/tests/unit_tests/testLinearAlgebra/testspec/testspec.sci
@@ -0,0 +1,9 @@
+function testspec()
+ A = [1,2,3;4,5,6;7,8,9]
+ B = [10,11,12;13,14,15;16,17,18]
+ [R,diagevals,c,d] = spec(A,B)
+ disp(R)
+ disp(diagevals)
+ disp(c)
+ disp(d)
+endfunction