diff options
Diffstat (limited to 'examples/noc/test/the_wave.script')
| -rw-r--r-- | examples/noc/test/the_wave.script | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/noc/test/the_wave.script b/examples/noc/test/the_wave.script new file mode 100644 index 0000000..59f664c --- /dev/null +++ b/examples/noc/test/the_wave.script @@ -0,0 +1,6 @@ +# The wave scrolls by 0.02 rad a 60 Hz step. The first tick has no time +# behind it (dt 0), so 60 frames make 59 steps. +frames 60 +expect clock.count 59 +expect start_angle 1.18 ~0.0001 +screenshot .zig-cache/e2e/the_wave.png |
