pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-02
2001-03-02 02:33:11 by Marcus Comstedt <marcus@mc.pp.se>
17f2a4d20561dd40f86278248c63eb582fee2223 (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added ++ test on multiset/mapping lvalues.
Rev: src/testsuite.in:1.393
1:
-
test_true([["$Id: testsuite.in,v 1.
392
2001/
02
/
28
14
:
48:
33
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
393
2001/
03/
02
02
:
33
:
11
marcus
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
2193:
define([[MTEST]])
+
test_equal([[lambda(multiset x){return ({x[17]++,x[17]++,x[17]++});}((<>))]],
+
[[({0,1,1})]])
+
// mapping tests test_any([[mapping m=([]);int e;
2343:
return get_weak_flag (([])); ]], 0);
+
test_equal([[lambda(mapping x){return ({x[17]++,x[17]++,x[17]++});}(([]))]],
+
[[({0,1,2})]])
+
// destructed indices test_any([[{ object o = class{}();