mediawiki-extensions-AbuseF.../tests/parserTests/array-comparisons.t

19 lines
493 B
Perl
Raw Normal View History

a := [1, 2, 3];
b := [1, 2, 3];
c := [2, 3, 4];
d := [1, 2, 3, 4];
e := ['1', '2', '3'];
f := [[['1']]];
g := [[[1]]];
h := [[1, 2], 3];
i := [['1', 2], '3'];
j := [1];
k := ['1'];
l := [];
m := 42;
n := [0,1];
a == b & a === b & a != c & b != d & a == e & a !== e & f == g & f !== g & h == i & h !== i & e != i & j != 1 &
k != '1' & l == false & l == null & l !== false & l !== null & false == l & null == l & false !== l & null !== l &
b[5**2/((4+1)*5)] == a[43-m] & a[n[0]] === b[n[m-42]]