Debian Codegraph @

tests/spec/unit/json/json_enum_def_2.mzn

raw
1 /***
2 !Test
3 extra_files:
4 - json_enum_def_2.json
5 solvers: [gecode]
6 expected: !Result
7 solution: !Solution
8 x: ["C(1)", "C(2)", "C(3)", "A", "B", "to_enum(Foo,6)", "to_enum(Foo,7)", "to_enum(Foo,8)"]
9 ***/
10
11 enum Foo;
12
13 any: x :: output = [show(i) | i in Foo];