☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
nested_clause.mzn
☽
☼
tests/spec/unit/regression/nested_clause.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected:
4
- !Result
5
solution: !Solution
6
x: 2
7
y: [false, false]
8
***/
9
10
var 2..2: x;
11
array[1..2] of var bool: y;
12
13
constraint (1 <= x) -> (not y[1] \/ not y[2]);
14
15
solve satisfy;