Debian Codegraph @

tests/spec/unit/globals/roots/roots_bad.mzn

raw
1 /***
2 !Test
3 expected: !Error
4 ***/
5
6 % This should abort since {6} is not a subset of index_set(x).
7
8 include "roots.mzn";
9
10 array[1..5] of var 1..10: x;
11
12 constraint roots(x, {6}, {1, 2});
13
14 solve satisfy;
15
16 output ["ERROR\n"];