summaryrefslogtreecommitdiff
path: root/examples/noc/test/quadtree.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-16 21:28:20 -0300
committerGabriel Schneider <[email protected]>2026-11-16 21:28:20 -0300
commit6933f99ddb2d7103515d26838496309a807bba26 (patch)
tree991c2fe7d4a57957222876e190fa4d16a0fb889c /examples/noc/test/quadtree.script
parent82fca5c9f29124f37f6dcd08e73e6999ce44a69d (diff)
downloadsketchbook-6933f99ddb2d7103515d26838496309a807bba26.tar.gz
sketchbook-6933f99ddb2d7103515d26838496309a807bba26.zip
Move standalone sketches into sketchbook examples
Diffstat (limited to 'examples/noc/test/quadtree.script')
-rw-r--r--examples/noc/test/quadtree.script15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/noc/test/quadtree.script b/examples/noc/test/quadtree.script
new file mode 100644
index 0000000..c1dde4f
--- /dev/null
+++ b/examples/noc/test/quadtree.script
@@ -0,0 +1,15 @@
+# 2000 points in a normal cloud, the tree over them, and the points under
+# the pointer's square found through it; then a drag adds points.
+expect points.len 2000
+move 360 200
+frames 2
+screenshot .zig-cache/e2e/quadtree.png
+down 100 80
+move 110 85
+move 120 90
+frames 20
+up 120 90
+expect points.len 2023
+move 120 90
+frames 1
+screenshot .zig-cache/e2e/quadtree-drag.png