Debian Codegraph @

tests/spec/unit/general/param_out_of_range_int.mzn

raw
1 /***
2 !Test
3 solvers:
4 - gecode
5 expected: !Error
6 regex: .*declared domain of `x' is -infinity\.\.-1 union 1\.\.infinity, but assigned value is 0.*
7 ***/
8
9 set of int: Foo = -infinity..-1 union 1..infinity;
10 Foo: x = 0;