bug2322.sci added
Serge Steer [Mon, 19 Feb 2007 17:46:33 +0000 (17:46 +0000)]
tests/nonRegression/bug2322.sci [new file with mode: 0644]
tests/nonRegression/list_nonreg.txt

diff --git a/tests/nonRegression/bug2322.sci b/tests/nonRegression/bug2322.sci
new file mode 100644 (file)
index 0000000..ae87c5d
--- /dev/null
@@ -0,0 +1,17 @@
+// Non-regression test file for bug 2322
+// Serge Steer - Scilab Project
+// Copyright INRIA
+// 19/02/2007
+
+mode(-1);
+clear;
+r=%t
+r=r&and(size(emptystr(0,1))==[0 0]);
+r=r&and(size(emptystr(1,0))==[0 0]);
+r=r&and(size(emptystr(0,3))==[0 0]);
+r=r&and(size(emptystr(5,0))==[0 0]);
+r=r&and(size(emptystr(0,0))==[0 0]);
+r=r&and(size(emptystr(3,5))==[3 5]);
+
+affich_result(r,2322);
+clear