1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

19 lines
269 B
MiniZinc

/***
!Test
expected:
- !Result
solution: !Solution
y: 2
- !Result
solution: !Solution
y: 10
***/
% A regression test for G12 bug #69.
%
var int: y;
predicate p(var 1..10: x) = (x mod 2 = 0);
constraint p(y);
solve satisfy;
output ["y = ", show(y), ";\n"];