summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2023-04-04 23:55:36 +0200
committerpgen <p.gen.progs@gmail.com>2023-04-04 23:55:36 +0200
commit4b18a82373b23d2b173f62b8c66e4879634ad1f8 (patch)
tree96b7725fd9674ad818e794d24fbb306f97d326e7 /tests
parent5c4047584458f1c6cdc0ec2a28699a3c083d9146 (diff)
Add a test in rows_cols_in-ex-clusions
Diffstat (limited to 'tests')
-rw-r--r--tests/rows_cols_in-ex-clusions/t0004.good21
l---------tests/rows_cols_in-ex-clusions/t0004.in1
-rw-r--r--tests/rows_cols_in-ex-clusions/t0004.tst4
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/rows_cols_in-ex-clusions/t0004.good b/tests/rows_cols_in-ex-clusions/t0004.good
new file mode 100644
index 0000000..a3121b6
--- /dev/null
+++ b/tests/rows_cols_in-ex-clusions/t0004.good
@@ -0,0 +1,21 @@
+$ OUT=$(smenu -n 6 -c -C-2,4- -Re-2,5- -- t0004.in)
+
+1 2 3 4 5
+0:24 1:24 3:24 4:24 6:24 7:24 9:24 10:24 12:24 13:24
+6 7 8 9 10
+0:24 1:24 3:24 4:24 6:24 7:24 9:24 10:24 12:24 13:24
+11 12 13 14 15
+6:24 7:24 9:07 10:07
+16 17 18 19 20
+6:24 7:24
+21 22 23
+0:24 1:24 3:24 4:24 6:24 7:24
+24 25
+0:24 1:24 3:24 4:24
+$
+
+$ echo ":$OUT:"
+
+:14:
+
+$ exit 0
diff --git a/tests/rows_cols_in-ex-clusions/t0004.in b/tests/rows_cols_in-ex-clusions/t0004.in
new file mode 120000
index 0000000..0abc8f1
--- /dev/null
+++ b/tests/rows_cols_in-ex-clusions/t0004.in
@@ -0,0 +1 @@
+data1 \ No newline at end of file
diff --git a/tests/rows_cols_in-ex-clusions/t0004.tst b/tests/rows_cols_in-ex-clusions/t0004.tst
new file mode 100644
index 0000000..4352431
--- /dev/null
+++ b/tests/rows_cols_in-ex-clusions/t0004.tst
@@ -0,0 +1,4 @@
+\S[150]\s[10]OUT=$(smenu -n 6 -c -C-2,4- -Re-2,5- -- t0004.in)
+\S[150]\s[50]llljljljhkk\r
+\S[150]\s[10]echo ":$\s[10]OUT:"
+exit 0