summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_double_OpLogGt.sci
diff options
context:
space:
mode:
authorjofret2009-06-05 15:31:48 +0000
committerjofret2009-06-05 15:31:48 +0000
commit74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1 (patch)
tree484736de55d5ce87a2503cb7024c1835f8073766 /tests/unit_tests/test_double_OpLogGt.sci
parent462563271edd528e1785ed30beff1683f1859ac2 (diff)
downloadscilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.tar.gz
scilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.tar.bz2
scilab2c-74ee91efdd1d12cb6e224ecc87f0cc51a51bcbc1.zip
Enable order comparison
Diffstat (limited to 'tests/unit_tests/test_double_OpLogGt.sci')
-rw-r--r--tests/unit_tests/test_double_OpLogGt.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit_tests/test_double_OpLogGt.sci b/tests/unit_tests/test_double_OpLogGt.sci
new file mode 100644
index 00000000..70a1ef39
--- /dev/null
+++ b/tests/unit_tests/test_double_OpLogGt.sci
@@ -0,0 +1,11 @@
+function test_double_OpLogGt()
+ a = 1;
+ c = [1 2 3]
+
+ disp(a > a); // d0d0OpLogEqd0
+ disp(a > c); // d0d2OpLogEqd2
+
+ disp(c > a); // d2d0OpLogEqd0
+ disp(c > c); // d2d2OpLogEqd2
+
+endfunction