Debian Codegraph @

tests/spec/unit/fznjson/fznjson-basic.mzn

raw
1 /***
2 --- !Test
3 type: compile
4 solvers: [fznjson.msc]
5 expected: !FlatZincJSON fznjson-basic.json
6 ***/
7
8 var 1..3: x;
9 var 1..3: y;
10 var bool: b = x < y;
11 constraint b -> x + y < 4;
12
13 solve :: seq_search([
14 int_search([x, y], input_order, indomain_min),
15 bool_search([b], input_order, indomain_min),
16 ]) satisfy;