Lines Matching refs:assertArrayEquals
30 assertArrayEquals(expected, result);
33 assertArrayEquals(["a", "b"], "ab".split(/a*?/));
35 assertArrayEquals(["", "b"], "ab".split(/a*/));
37 assertArrayEquals(["a"], "ab".split(/a*?/, 1));
39 assertArrayEquals([""], "ab".split(/a*/, 1));
41 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d"));
43 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d", -1));
45 assertArrayEquals(["as", "fas"], "asdfasdfasdf".split("d", 2));
47 assertArrayEquals([], "asdfasdfasdf".split("d", 0));
49 assertArrayEquals(["as","fas","fas",""], "asdfasdfasd".split("d"));
51 assertArrayEquals([], "".split(""));
53 assertArrayEquals([""], "".split("a"));
55 assertArrayEquals(["a","b"], "axxb".split(/x*/));
57 assertArrayEquals(["a","b"], "axxb".split(/x+/));
59 assertArrayEquals(["a","","b"], "axxb".split(/x/));
62 assertArrayEquals(["div", "#id", ".class"], "div#id.class".split(/(?=[#.])/));
65 assertArrayEquals(["div", "#i", "d", ".class"], "div#id.class".split(/(?=[d#.])/));
67 assertArrayEquals(["a", "b", "c"], "abc".split(/(?=.)/));
69 assertArrayEquals(["Wenige", "sind", "auserwählt."],
72 assertArrayEquals([], "Wenige sind auserwählt.".split(" ", 0));
74 assertArrayEquals(["Wenige"], "Wenige sind auserwählt.".split(" ", 1));
76 assertArrayEquals(["Wenige", "sind"], "Wenige sind auserwählt.".split(" ", 2));
78 assertArrayEquals(["Wenige", "sind", "auserwählt."],
81 assertArrayEquals(["Wenige sind auserw", "hlt."],
84 assertArrayEquals(["Wenige sind ", "."],
97 assertArrayEquals(["a", "", "b"], "ab".split(/((?=.))/));
107 assertArrayEquals(["a", "b"], "ab".split(/(?=)/));