summaryrefslogtreecommitdiff
path: root/tests/unit_tests/test_double_OpLogLt.sci
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/test_double_OpLogLt.sci')
-rw-r--r--tests/unit_tests/test_double_OpLogLt.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unit_tests/test_double_OpLogLt.sci b/tests/unit_tests/test_double_OpLogLt.sci
new file mode 100644
index 00000000..ec06fcc2
--- /dev/null
+++ b/tests/unit_tests/test_double_OpLogLt.sci
@@ -0,0 +1,10 @@
+function test_double_OpLogLt()
+ a = 1;
+ c = [1 2 3]
+
+ disp(a < a); // d0d0OpLogEqd0
+ disp(a < c); // d0d2OpLogEqd2
+
+ disp(c < a); // d2d0OpLogEqd0
+ disp(c < c); // d2d2OpLogEqd2
+endfunction