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

23 lines
285 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/minus
query: data.generated.p = x
sort_bindings: true
want_result:
- x:
- -1