Lines Matching refs:found
90 function fail(expected, found, name_opt) {
98 "> found <" + MjsUnitToString(found) + ">";
158 function assertSame(expected, found, name_opt) {
159 if (found !== expected) {
160 fail(expected, found, name_opt);
165 function assertEquals(expected, found, name_opt) {
166 if (!deepEquals(found, expected)) {
167 fail(expected, found, name_opt);
172 function assertArrayEquals(expected, found, name_opt) {
177 assertEquals(expected.length, found.length, start + "array length");
178 if (expected.length == found.length) {
180 assertEquals(expected[i], found[i], start + "array element at index " + i);