Debian Codegraph @

tests/spec/unit/globals/alldifferent_except_0/test_alldiff_except0.mzn

raw
1 /***
2 !Test
3 expected:
4 - !Result
5 solution: !Solution
6 _output_item: Ok
7 ***/
8
9 include "alldifferent_except_0.mzn";
10
11 constraint alldifferent_except_0([]);
12 constraint alldifferent_except_0([0, 0]);
13 constraint alldifferent_except_0([1, 2, 3]);
14 constraint alldifferent_except_0([-2, -1, 0, 1, 2]);
15
16 solve satisfy;
17
18 output ["Ok"];