Debian Codegraph @

tests/spec/unit/output/output_make_arg_par.mzn

raw
1 /***
2 !Test
3 type: output-model
4 solvers: [gecode]
5 expected: !OutputModel output_make_arg_par.ozn
6 ***/
7
8 % Test to ensure that the signature for foo in the ozn is correct (all par)
9
10 var 1..3: x;
11 var 1..3: y;
12 function var int: foo(var int: v) = v * x;
13 any: z :: output = foo(y);
14 solve minimize x + y;