Debian Codegraph @

tests/spec/unit/general/test_array2.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 status: SATISFIED
5 solution: !Solution
6 i: 4
7 ***/
8
9 array [1..3] of int: x = [1, 4, 9];
10
11 var 1..4: i;
12
13 constraint x[i] < 11 -> i > 3;
14
15 solve satisfy;