Debian Codegraph @

tests/spec/unit/regression/in_array_eval_error.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: [1]
7 y: true
8 ***/
9
10 % Regression test for incorrect evaluation error due to assuming `in` would have
11 % a set for its RHS
12
13 array [1..1] of var 1..1: x;
14 var bool: y :: output = x[1] in [1];