summaryrefslogtreecommitdiff
path: root/examples/noc/test/bouncing_ball.script
blob: b9e6a7427f53ab5a3a9c6b3bfff631b37161ecc7 (plain) (blame)
1
2
3
4
5
6
7
8
# x passes 640 after 216 steps, y passes 360 after 130: by frame 300 the
# ball has come off both walls and heads back up-left.
frames 300
expect velocity[0] -2.5
expect velocity[1] -2
expect position[0] 437.5 ~0.01
expect position[1] 26 ~0.01
screenshot .zig-cache/e2e/bouncing_ball.png