summaryrefslogtreecommitdiff
path: root/examples/noc/test/angular_forces.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/noc/test/angular_forces.script')
-rw-r--r--examples/noc/test/angular_forces.script8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/noc/test/angular_forces.script b/examples/noc/test/angular_forces.script
new file mode 100644
index 0000000..0e44501
--- /dev/null
+++ b/examples/noc/test/angular_forces.script
@@ -0,0 +1,8 @@
+# Four seconds of orbits. The clock is one step behind the frames: the
+# first tick has dt 0.
+frames 240
+expect clock.count 239
+expect movers[0].position[0] 313.456 ~0.01
+expect movers[0].angle 8.4829 ~0.001
+expect movers[19].position[1] 52.813 ~0.01
+screenshot .zig-cache/e2e/angular_forces.png