summaryrefslogtreecommitdiff
path: root/examples/noc/test/wolfram_ca.script
blob: da7f4088474881e02a30a98d6dc00765b6127d89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# One generation a step until the canvas is full, then it stops (noLoop).
# The first tick carries dt 0, so 10 frames are 9 steps.
frames 10
expect generation 9
# Rule 90 from one cell: row 2 is cells 30 and 34, row 3 is 29, 31, 33, 35.
expect rows[2][30] 1
expect rows[2][32] 0
expect rows[3][31] 1
await generation 33
frames 30
expect generation 33
screenshot .zig-cache/e2e/wolfram_ca.png