Lines Matching refs:assert
20 assert(false);
22 assert(e instanceof TypeError);
27 assert(actual.length === expected.length);
30 assert(actual[i] === expected[i]);
41 assert(sum(...numbers) === 6);
49 assert(myFunction (-1, ...args, 2, ...[3]) == 5);
55 assert(d.toString().substring(0, 24) === "Thu Jan 01 1970 00:00:00");
77 assert(Object.keys(obj).length === 2);
78 assert(obj.prop1 === "val1");
79 assert(obj.prop2 === "val2");
86 assert (o.f(...["a", "b", "c"]) === "abc");
99 assert(array instanceof MyArray);
100 assert(array instanceof Array);