summaryrefslogtreecommitdiff
path: root/anim/test
diff options
context:
space:
mode:
Diffstat (limited to 'anim/test')
-rw-r--r--anim/test/gallery/atoms.pngbin104371 -> 104341 bytes
-rw-r--r--anim/test/gallery/loupe.pngbin242294 -> 237028 bytes
-rw-r--r--anim/test/gallery/none.pngbin231981 -> 226452 bytes
-rw-r--r--anim/test/gallery/rest.pngbin237262 -> 232319 bytes
-rw-r--r--anim/test/gallery/rows.pngbin117065 -> 138579 bytes
-rw-r--r--anim/test/gallery/step.pngbin236811 -> 231969 bytes
-rw-r--r--anim/test/gallery/subject.pngbin210793 -> 208224 bytes
-rw-r--r--anim/test/heap.script11
-rw-r--r--anim/test/recordings.zig3
9 files changed, 13 insertions, 1 deletions
diff --git a/anim/test/gallery/atoms.png b/anim/test/gallery/atoms.png
index 18b3e8e..796c202 100644
--- a/anim/test/gallery/atoms.png
+++ b/anim/test/gallery/atoms.png
Binary files differ
diff --git a/anim/test/gallery/loupe.png b/anim/test/gallery/loupe.png
index 5a8ca4f..750c6fd 100644
--- a/anim/test/gallery/loupe.png
+++ b/anim/test/gallery/loupe.png
Binary files differ
diff --git a/anim/test/gallery/none.png b/anim/test/gallery/none.png
index 79ce087..5fed856 100644
--- a/anim/test/gallery/none.png
+++ b/anim/test/gallery/none.png
Binary files differ
diff --git a/anim/test/gallery/rest.png b/anim/test/gallery/rest.png
index 7cc1ce7..abe30f0 100644
--- a/anim/test/gallery/rest.png
+++ b/anim/test/gallery/rest.png
Binary files differ
diff --git a/anim/test/gallery/rows.png b/anim/test/gallery/rows.png
index 4ad0d6c..e32d4b4 100644
--- a/anim/test/gallery/rows.png
+++ b/anim/test/gallery/rows.png
Binary files differ
diff --git a/anim/test/gallery/step.png b/anim/test/gallery/step.png
index 2c07506..ea3c6f1 100644
--- a/anim/test/gallery/step.png
+++ b/anim/test/gallery/step.png
Binary files differ
diff --git a/anim/test/gallery/subject.png b/anim/test/gallery/subject.png
index 0c6d40e..4524a25 100644
--- a/anim/test/gallery/subject.png
+++ b/anim/test/gallery/subject.png
Binary files differ
diff --git a/anim/test/heap.script b/anim/test/heap.script
new file mode 100644
index 0000000..9c7e375
--- /dev/null
+++ b/anim/test/heap.script
@@ -0,0 +1,11 @@
+# The heap scene, headless: it runs to three instants of its timeline without failing.
+# (The pixel assertions written for the first layout were dropped when the
+# frame became the debugger's context; new ones want a settled design: see anim/README.md.)
+frames 2
+console set playing false
+console set t 5
+screenshot .zig-cache/canim/heap-early.png
+console set t 14
+screenshot .zig-cache/canim/heap-mid.png
+console set t 999
+screenshot .zig-cache/canim/heap-end.png
diff --git a/anim/test/recordings.zig b/anim/test/recordings.zig
index 6d0577f..3634ee9 100644
--- a/anim/test/recordings.zig
+++ b/anim/test/recordings.zig
@@ -68,7 +68,8 @@ test "the program's four system calls are found, with what each was given" {
n += 1;
}
try expectEqual(@as(usize, 4), n);
- try std.testing.expectEqualStrings("open", names[0]);
+ // glibc's `open` makes `openat`.
+ try std.testing.expectEqualStrings("openat", names[0]);
try std.testing.expectEqualStrings("read", names[1]);
try std.testing.expectEqualStrings("close", names[2]);
try std.testing.expectEqualStrings("write", names[3]);