☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
globals
/
nvalue
/
nvalue_total.mzn
☽
☼
tests/spec/unit/globals/nvalue/nvalue_total.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
expected: !Result
5
solution: !Solution
6
l1: 1
7
***/
8
9
include "nvalue_fn.mzn";
10
11
array[1..10] of var 0..10: X;
12
int: l1 :: output = lb(nvalue(X));