summaryrefslogtreecommitdiff
path: root/anim/test/gallery.script
blob: 993ff7e139dda3e089407681da4e7b3858006830 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# The gallery's pages against test/gallery/ (`zig build gallery` draws them anew):
# every channel of every pixel within 24 of the picture, above the player's own line
# (its timings change from run to run). A screenshot is saved on the frame after.
frames 2
console set playing false
console set t 1.5
screenshot {dir}/atoms.png
frames 1
expect-same-screenshot {dir}/atoms.png test/gallery/atoms.png 24 0 0 1920 1040
console set t 4.5
screenshot {dir}/rows.png
frames 1
expect-same-screenshot {dir}/rows.png test/gallery/rows.png 24 0 0 1920 1040
console set t 7.4
screenshot {dir}/rest.png
frames 1
expect-same-screenshot {dir}/rest.png test/gallery/rest.png 24 0 0 1920 1040
console set t 9.6
screenshot {dir}/step.png
frames 1
expect-same-screenshot {dir}/step.png test/gallery/step.png 24 0 0 1920 1040
console set t 13.4
screenshot {dir}/subject.png
frames 1
expect-same-screenshot {dir}/subject.png test/gallery/subject.png 24 0 0 1920 1040
console set t 16.4
screenshot {dir}/none.png
frames 1
expect-same-screenshot {dir}/none.png test/gallery/none.png 24 0 0 1920 1040
console set t 19.8
screenshot {dir}/loupe.png
frames 1
expect-same-screenshot {dir}/loupe.png test/gallery/loupe.png 24 0 0 1920 1040