Debian Codegraph @

tests/spec/unit/regression/lb_ub_dom_array_opt.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 solution: !Solution
5 l: 1
6 u: 2
7 d: !Range 1..2
8 ***/
9
10 % lb/ub/dom_array should ignore <>
11 int: l :: output = lb_array([1, 2, <>]);
12 int: u :: output = ub_array([1, 2, <>]);
13 set of int: d :: output = dom_array([1, 2, <>]);