Files
releases/test/cases/testdata/arithmetic/test-arithmetic-0812.yaml
T
2022-06-28 10:18:35 +02:00

26 lines
312 B
YAML

cases:
- data:
a:
- 1
- 2
- 3
- 4
modules:
- |
package generated
p[y] {
data.a[i] = x
__local0__ = i * x
y = __local0__
}
note: arithmetic/multiply
query: data.generated.p = x
sort_bindings: true
want_result:
- x:
- 0
- 2
- 6
- 12