From e61362b8d8c461cc6cf3f969265152c77bdcad2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 9 Jul 2017 12:32:38 +0200 Subject: [PATCH] test/vis: add more tests for selection operations --- vis/selections/combine-intersect.in | 10 ++++++++++ vis/selections/combine-intersect.keys | 5 +++++ vis/selections/combine-intersect.ref | 10 ++++++++++ vis/selections/combine-leftmost.in | 10 ++++++++++ vis/selections/combine-leftmost.keys | 5 +++++ vis/selections/combine-leftmost.ref | 10 ++++++++++ vis/selections/combine-longer.in | 10 ++++++++++ vis/selections/combine-longer.keys | 5 +++++ vis/selections/combine-longer.ref | 10 ++++++++++ vis/selections/combine-rightmost.in | 10 ++++++++++ vis/selections/combine-rightmost.keys | 5 +++++ vis/selections/combine-rightmost.ref | 10 ++++++++++ vis/selections/combine-shorter.in | 10 ++++++++++ vis/selections/combine-shorter.keys | 5 +++++ vis/selections/combine-shorter.ref | 10 ++++++++++ vis/selections/combine-union.in | 10 ++++++++++ vis/selections/combine-union.keys | 5 +++++ vis/selections/combine-union.ref | 10 ++++++++++ vis/selections/intersect-empty.in | 10 ++++++++++ vis/selections/intersect-empty.keys | 3 +++ vis/selections/intersect-empty.ref | 10 ++++++++++ vis/selections/intersect-whole.in | 10 ++++++++++ vis/selections/intersect-whole.keys | 5 +++++ vis/selections/intersect-whole.ref | 10 ++++++++++ vis/selections/minus-empty.in | 10 ++++++++++ vis/selections/minus-empty.keys | 3 +++ vis/selections/minus-empty.ref | 10 ++++++++++ vis/selections/minus-whole.in | 10 ++++++++++ vis/selections/minus-whole.keys | 5 +++++ vis/selections/minus-whole.ref | 10 ++++++++++ vis/selections/union-empty.in | 10 ++++++++++ vis/selections/union-empty.keys | 3 +++ vis/selections/union-empty.ref | 10 ++++++++++ vis/selections/union-whole.in | 10 ++++++++++ vis/selections/union-whole.keys | 5 +++++ vis/selections/union-whole.ref | 11 +++++++++++ 36 files changed, 295 insertions(+) create mode 100644 vis/selections/combine-intersect.in create mode 100644 vis/selections/combine-intersect.keys create mode 100644 vis/selections/combine-intersect.ref create mode 100644 vis/selections/combine-leftmost.in create mode 100644 vis/selections/combine-leftmost.keys create mode 100644 vis/selections/combine-leftmost.ref create mode 100644 vis/selections/combine-longer.in create mode 100644 vis/selections/combine-longer.keys create mode 100644 vis/selections/combine-longer.ref create mode 100644 vis/selections/combine-rightmost.in create mode 100644 vis/selections/combine-rightmost.keys create mode 100644 vis/selections/combine-rightmost.ref create mode 100644 vis/selections/combine-shorter.in create mode 100644 vis/selections/combine-shorter.keys create mode 100644 vis/selections/combine-shorter.ref create mode 100644 vis/selections/combine-union.in create mode 100644 vis/selections/combine-union.keys create mode 100644 vis/selections/combine-union.ref create mode 100644 vis/selections/intersect-empty.in create mode 100644 vis/selections/intersect-empty.keys create mode 100644 vis/selections/intersect-empty.ref create mode 100644 vis/selections/intersect-whole.in create mode 100644 vis/selections/intersect-whole.keys create mode 100644 vis/selections/intersect-whole.ref create mode 100644 vis/selections/minus-empty.in create mode 100644 vis/selections/minus-empty.keys create mode 100644 vis/selections/minus-empty.ref create mode 100644 vis/selections/minus-whole.in create mode 100644 vis/selections/minus-whole.keys create mode 100644 vis/selections/minus-whole.ref create mode 100644 vis/selections/union-empty.in create mode 100644 vis/selections/union-empty.keys create mode 100644 vis/selections/union-empty.ref create mode 100644 vis/selections/union-whole.in create mode 100644 vis/selections/union-whole.keys create mode 100644 vis/selections/union-whole.ref diff --git a/vis/selections/combine-intersect.in b/vis/selections/combine-intersect.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-intersect.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-intersect.keys b/vis/selections/combine-intersect.keys new file mode 100644 index 0000000..882bb4f --- /dev/null +++ b/vis/selections/combine-intersect.keys @@ -0,0 +1,5 @@ +:x/.*/ x/.$/ +m +:x/.*/ x/^./ +z& +:i/|/ diff --git a/vis/selections/combine-intersect.ref b/vis/selections/combine-intersect.ref new file mode 100644 index 0000000..b117b54 --- /dev/null +++ b/vis/selections/combine-intersect.ref @@ -0,0 +1,10 @@ +|100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-leftmost.in b/vis/selections/combine-leftmost.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-leftmost.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-leftmost.keys b/vis/selections/combine-leftmost.keys new file mode 100644 index 0000000..c74b375 --- /dev/null +++ b/vis/selections/combine-leftmost.keys @@ -0,0 +1,5 @@ +:x/.*/ x/^./ +m +:x/.*/ x/.$/ +z< +:{ i/[/ a/]/ } diff --git a/vis/selections/combine-leftmost.ref b/vis/selections/combine-leftmost.ref new file mode 100644 index 0000000..c727fd0 --- /dev/null +++ b/vis/selections/combine-leftmost.ref @@ -0,0 +1,10 @@ +[1]00 +[1]01 +[1]02 +[1]03 +[1]04 +[1]05 +[1]06 +[1]07 +[1]08 +[1]09 diff --git a/vis/selections/combine-longer.in b/vis/selections/combine-longer.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-longer.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-longer.keys b/vis/selections/combine-longer.keys new file mode 100644 index 0000000..e562088 --- /dev/null +++ b/vis/selections/combine-longer.keys @@ -0,0 +1,5 @@ +:x/.*/ x/./ g2 +m +:x/.*/ +z+ +:{ i/[/ a/]/ } diff --git a/vis/selections/combine-longer.ref b/vis/selections/combine-longer.ref new file mode 100644 index 0000000..b78bc90 --- /dev/null +++ b/vis/selections/combine-longer.ref @@ -0,0 +1,10 @@ +[100] +[101] +[102] +[103] +[104] +[105] +[106] +[107] +[108] +[109] diff --git a/vis/selections/combine-rightmost.in b/vis/selections/combine-rightmost.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-rightmost.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-rightmost.keys b/vis/selections/combine-rightmost.keys new file mode 100644 index 0000000..6547d48 --- /dev/null +++ b/vis/selections/combine-rightmost.keys @@ -0,0 +1,5 @@ +:x/.*/ x/^./ +m +:x/.*/ x/.$/ +z> +:{ i/[/ a/]/ } diff --git a/vis/selections/combine-rightmost.ref b/vis/selections/combine-rightmost.ref new file mode 100644 index 0000000..b061b47 --- /dev/null +++ b/vis/selections/combine-rightmost.ref @@ -0,0 +1,10 @@ +10[0] +10[1] +10[2] +10[3] +10[4] +10[5] +10[6] +10[7] +10[8] +10[9] diff --git a/vis/selections/combine-shorter.in b/vis/selections/combine-shorter.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-shorter.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-shorter.keys b/vis/selections/combine-shorter.keys new file mode 100644 index 0000000..22fd38a --- /dev/null +++ b/vis/selections/combine-shorter.keys @@ -0,0 +1,5 @@ +:x/.*/ x/./ g2 +m +:x/.*/ +z- +:{ i/[/ a/]/ } diff --git a/vis/selections/combine-shorter.ref b/vis/selections/combine-shorter.ref new file mode 100644 index 0000000..70eeb2c --- /dev/null +++ b/vis/selections/combine-shorter.ref @@ -0,0 +1,10 @@ +1[0]0 +1[0]1 +1[0]2 +1[0]3 +1[0]4 +1[0]5 +1[0]6 +1[0]7 +1[0]8 +1[0]9 diff --git a/vis/selections/combine-union.in b/vis/selections/combine-union.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/combine-union.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/combine-union.keys b/vis/selections/combine-union.keys new file mode 100644 index 0000000..f84d1d2 --- /dev/null +++ b/vis/selections/combine-union.keys @@ -0,0 +1,5 @@ +:x/.*/ x/^./ +m +:x/.*/ x/.$/ +z| +:{ i/[/ a/]/ } diff --git a/vis/selections/combine-union.ref b/vis/selections/combine-union.ref new file mode 100644 index 0000000..b78bc90 --- /dev/null +++ b/vis/selections/combine-union.ref @@ -0,0 +1,10 @@ +[100] +[101] +[102] +[103] +[104] +[105] +[106] +[107] +[108] +[109] diff --git a/vis/selections/intersect-empty.in b/vis/selections/intersect-empty.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/intersect-empty.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/intersect-empty.keys b/vis/selections/intersect-empty.keys new file mode 100644 index 0000000..d039fd6 --- /dev/null +++ b/vis/selections/intersect-empty.keys @@ -0,0 +1,3 @@ +:x v%2 +& +:i/|/ diff --git a/vis/selections/intersect-empty.ref b/vis/selections/intersect-empty.ref new file mode 100644 index 0000000..1f2cf48 --- /dev/null +++ b/vis/selections/intersect-empty.ref @@ -0,0 +1,10 @@ +100| +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/intersect-whole.in b/vis/selections/intersect-whole.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/intersect-whole.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/intersect-whole.keys b/vis/selections/intersect-whole.keys new file mode 100644 index 0000000..a99747a --- /dev/null +++ b/vis/selections/intersect-whole.keys @@ -0,0 +1,5 @@ +:, +m +:x/.*/ v%2 +& +:{ i/[/ a/]/ } diff --git a/vis/selections/intersect-whole.ref b/vis/selections/intersect-whole.ref new file mode 100644 index 0000000..e8ceccb --- /dev/null +++ b/vis/selections/intersect-whole.ref @@ -0,0 +1,10 @@ +[100] +101 +[102] +103 +[104] +105 +[106] +107 +[108] +109 diff --git a/vis/selections/minus-empty.in b/vis/selections/minus-empty.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/minus-empty.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/minus-empty.keys b/vis/selections/minus-empty.keys new file mode 100644 index 0000000..ab30a19 --- /dev/null +++ b/vis/selections/minus-empty.keys @@ -0,0 +1,3 @@ +:x/.*/ v%2 +\ +:{ i/[/ a/]/ } diff --git a/vis/selections/minus-empty.ref b/vis/selections/minus-empty.ref new file mode 100644 index 0000000..e8ceccb --- /dev/null +++ b/vis/selections/minus-empty.ref @@ -0,0 +1,10 @@ +[100] +101 +[102] +103 +[104] +105 +[106] +107 +[108] +109 diff --git a/vis/selections/minus-whole.in b/vis/selections/minus-whole.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/minus-whole.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/minus-whole.keys b/vis/selections/minus-whole.keys new file mode 100644 index 0000000..2615c3e --- /dev/null +++ b/vis/selections/minus-whole.keys @@ -0,0 +1,5 @@ +:, +m +:x v%2 +\ +:i/|/ diff --git a/vis/selections/minus-whole.ref b/vis/selections/minus-whole.ref new file mode 100644 index 0000000..1f2cf48 --- /dev/null +++ b/vis/selections/minus-whole.ref @@ -0,0 +1,10 @@ +100| +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/union-empty.in b/vis/selections/union-empty.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/union-empty.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/union-empty.keys b/vis/selections/union-empty.keys new file mode 100644 index 0000000..58816b4 --- /dev/null +++ b/vis/selections/union-empty.keys @@ -0,0 +1,3 @@ +:x/.*/ v%2 +| +:{ i/[/ a/]/ } diff --git a/vis/selections/union-empty.ref b/vis/selections/union-empty.ref new file mode 100644 index 0000000..e8ceccb --- /dev/null +++ b/vis/selections/union-empty.ref @@ -0,0 +1,10 @@ +[100] +101 +[102] +103 +[104] +105 +[106] +107 +[108] +109 diff --git a/vis/selections/union-whole.in b/vis/selections/union-whole.in new file mode 100644 index 0000000..96c2a08 --- /dev/null +++ b/vis/selections/union-whole.in @@ -0,0 +1,10 @@ +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 diff --git a/vis/selections/union-whole.keys b/vis/selections/union-whole.keys new file mode 100644 index 0000000..c430335 --- /dev/null +++ b/vis/selections/union-whole.keys @@ -0,0 +1,5 @@ +:, +m +:x v%2 +| +:{ i/[/ a/]/ } diff --git a/vis/selections/union-whole.ref b/vis/selections/union-whole.ref new file mode 100644 index 0000000..c1b9636 --- /dev/null +++ b/vis/selections/union-whole.ref @@ -0,0 +1,11 @@ +[100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +] \ No newline at end of file