☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
compilation
/
maybe_partial_cv.mzn
☽
☼
tests/spec/unit/compilation/maybe_partial_cv.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
options:
5
-Werror: true
6
expected: !Result
7
status: SATISFIED
8
***/
9
10
int: x = if has_element(1, col([||], 2))::maybe_partial then 1 else 0 endif;
11
int: y = if (col([||], 2)[1]=1) ::maybe_partial then 1 else 0 endif;