Debian Codegraph @

tests/spec/unit/general/fix_struct.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 status: SATISFIED
6 solution: !Solution
7 x:
8 a: [[[1]]]
9 b: 1
10 y:
11 a: [[[1]]]
12 b: 1
13 ***/
14
15 record(array [1..1] of tuple(array [1..1] of var 1..1): a, var 1..1: b): x;
16 record(array [1..1] of tuple(array [1..1] of int): a, int: b): y :: output = fix(x);
17
18 constraint assert(is_fixed(x), "Should be fixed");