Debian Codegraph @

tests/spec/unit/regression/github_810a.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 all_solutions: true
6 expected: !Result
7 solution:
8 - !Solution
9 _output_item: Ok
10 ***/
11
12 var bool: p :: no_output;
13 var bool: a :: no_output;
14 var bool: b :: no_output;
15
16 constraint ((a \/ not b) >= 1) -> p;
17
18 output let {
19 constraint assert(fix(((a \/ not b) >= 1) -> p), "Incorrect");
20 } in "Ok";