☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
test_negated_let_good.mzn
☽
☼
tests/spec/unit/general/test_negated_let_good.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected:
4
- !Result
5
status: SATISFIED
6
solution: !Solution
7
x: 1
8
- !Result
9
status: SATISFIED
10
solution: !Solution
11
x: 10
12
***/
13
14
var 1..10: x :: add_to_output;
15
constraint not( let { var 1..10: y = x + 1 } in x = y );
16
solve satisfy;
17