values.c
ds2.10/fluffos-2.16-ds05/testsuite/single/tests/efuns/values.c · 183 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
void do_tests() {
mapping m = ([ 1 : 2, 3 : 4, 5 : 6 ]);
mixed *k = values(m);
mixed x, y;
foreach (x, y in m) {
k -= ({ y });
}
ASSERT(k == ({}));
}