Debian Codegraph @

tests/spec/unit/regression/comp_in_empty_set.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 status: SATISFIED
5 ***/
6
7 % Used to fail because {} is par set of bottom
8
9 enum Foo = {A};
10 set of Foo: x :: output = to_enum(Foo, {});
11 array [int] of int: y :: output = [i | i in {}];