Lines Matching refs:assertTrue
37 assertTrue(/^bar/.test("bar"));
38 assertTrue(/^bar/.test("bar\nfoo"));
40 assertTrue(/^bar/m.test("bar"));
41 assertTrue(/^bar/m.test("bar\nfoo"));
42 assertTrue(/^bar/m.test("foo\nbar"));
44 assertTrue(/bar$/.test("bar"));
46 assertTrue(/bar$/.test("foo\nbar"));
47 assertTrue(/bar$/m.test("bar"));
48 assertTrue(/bar$/m.test("bar\nfoo"));
49 assertTrue(/bar$/m.test("foo\nbar"));
64 assertTrue(/^.*$/.test(""));
65 assertTrue(/^.*$/.test("foo"));
67 assertTrue(/^.*$/m.test("\n"));
69 assertTrue(/^[\s]*$/.test(" "));
70 assertTrue(/^[\s]*$/.test("\n"));
72 assertTrue(/^[^]*$/.test(""));
73 assertTrue(/^[^]*$/.test("foo"));
74 assertTrue(/^[^]*$/.test("\n"));
76 assertTrue(/^([()\s]|.)*$/.test("()\n()"));
77 assertTrue(/^([()\n]|.)*$/.test("()\n()"));
79 assertTrue(/^([()]|.)*$/m.test("()\n()"));
80 assertTrue(/^([()]|.)*$/m.test("()\n"));
81 assertTrue(/^[()]*$/m.test("()\n."));
83 assertTrue(/^[\].]*$/.test("...]..."));
90 assertTrue(a.test(uc));
95 assertTrue(A.test(lc));
100 assertTrue(a.test(uc));
105 assertTrue(A.test(lc));