summaryrefslogtreecommitdiff
path: root/examples/live/test/live.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/live/test/live.script')
-rw-r--r--examples/live/test/live.script13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/live/test/live.script b/examples/live/test/live.script
index a06ed97..bedcf83 100644
--- a/examples/live/test/live.script
+++ b/examples/live/test/live.script
@@ -81,3 +81,16 @@ expect probe.len 3
expect probe.code[2].op mul
key escape
expect probe.len 0
+# Drag a number: 220 (line 1, columns 16..18; a column 10 pixels from 16,
+# a line 22 from 16) pressed and dragged 40 pixels right is 230, then 12
+# left of where it was pressed is 217; the program follows; the drag is one
+# step to undo.
+down 181 27
+move 201 27
+move 221 27
+expect out.code[1].a 1130758144
+move 169 27
+expect out.code[1].a 1129906176
+up 169 27
+type u
+expect out.code[1].a 1130102784