Skip to content

Commit

Permalink
test/vis: add more tests for selection operations
Browse files Browse the repository at this point in the history
  • Loading branch information
martanne committed Jul 9, 2017
1 parent b4e561a commit e61362b
Show file tree
Hide file tree
Showing 36 changed files with 295 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vis/selections/combine-intersect.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-intersect.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/.$/ <Enter>
m <Escape><Escape>
:x/.*/ x/^./ <Enter>
z&
:i/|/ <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-intersect.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
|100
101
102
103
104
105
106
107
108
109
10 changes: 10 additions & 0 deletions vis/selections/combine-leftmost.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-leftmost.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/^./ <Enter>
m <Escape><Escape>
:x/.*/ x/.$/ <Enter>
z<
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-leftmost.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[1]00
[1]01
[1]02
[1]03
[1]04
[1]05
[1]06
[1]07
[1]08
[1]09
10 changes: 10 additions & 0 deletions vis/selections/combine-longer.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-longer.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/./ g2 <Enter>
m <Escape><Escape>
:x/.*/ <Enter>
z+
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-longer.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[100]
[101]
[102]
[103]
[104]
[105]
[106]
[107]
[108]
[109]
10 changes: 10 additions & 0 deletions vis/selections/combine-rightmost.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-rightmost.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/^./ <Enter>
m <Escape><Escape>
:x/.*/ x/.$/ <Enter>
z>
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-rightmost.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
10[0]
10[1]
10[2]
10[3]
10[4]
10[5]
10[6]
10[7]
10[8]
10[9]
10 changes: 10 additions & 0 deletions vis/selections/combine-shorter.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-shorter.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/./ g2 <Enter>
m <Escape><Escape>
:x/.*/ <Enter>
z-
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-shorter.ref
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions vis/selections/combine-union.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/combine-union.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:x/.*/ x/^./ <Enter>
m <Escape><Escape>
:x/.*/ x/.$/ <Enter>
z|
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/combine-union.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[100]
[101]
[102]
[103]
[104]
[105]
[106]
[107]
[108]
[109]
10 changes: 10 additions & 0 deletions vis/selections/intersect-empty.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
3 changes: 3 additions & 0 deletions vis/selections/intersect-empty.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:x v%2 <Enter>
&
:i/|/ <Enter>
10 changes: 10 additions & 0 deletions vis/selections/intersect-empty.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100|
101
102
103
104
105
106
107
108
109
10 changes: 10 additions & 0 deletions vis/selections/intersect-whole.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/intersect-whole.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:, <Enter>
m
:x/.*/ v%2 <Enter>
&
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/intersect-whole.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[100]
101
[102]
103
[104]
105
[106]
107
[108]
109
10 changes: 10 additions & 0 deletions vis/selections/minus-empty.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
3 changes: 3 additions & 0 deletions vis/selections/minus-empty.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:x/.*/ v%2 <Enter>
\
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/minus-empty.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[100]
101
[102]
103
[104]
105
[106]
107
[108]
109
10 changes: 10 additions & 0 deletions vis/selections/minus-whole.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/minus-whole.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:, <Enter>
m
:x v%2 <Enter>
\
:i/|/ <Enter>
10 changes: 10 additions & 0 deletions vis/selections/minus-whole.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100|
101
102
103
104
105
106
107
108
109
10 changes: 10 additions & 0 deletions vis/selections/union-empty.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
3 changes: 3 additions & 0 deletions vis/selections/union-empty.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:x/.*/ v%2 <Enter>
|
:{ i/[/ a/]/ } <Enter>
10 changes: 10 additions & 0 deletions vis/selections/union-empty.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[100]
101
[102]
103
[104]
105
[106]
107
[108]
109
10 changes: 10 additions & 0 deletions vis/selections/union-whole.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
100
101
102
103
104
105
106
107
108
109
5 changes: 5 additions & 0 deletions vis/selections/union-whole.keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:, <Enter>
m
:x v%2 <Enter>
|
:{ i/[/ a/]/ } <Enter>
11 changes: 11 additions & 0 deletions vis/selections/union-whole.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[100
101
102
103
104
105
106
107
108
109
]

0 comments on commit e61362b

Please sign in to comment.