☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
array_string_gen.mzn
☽
☼
tests/spec/unit/general/array_string_gen.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected: !Result
4
status: SATISFIED
5
solution: !Solution
6
_output_item: foosbarsbazs
7
***/
8
9
array[1..3] of string: something = ["foo", "bar", "baz"];
10
array[1..3] of string: x = [s ++ "s" | s in something];
11
solve satisfy;
12
output x;