Lines Matching refs:actual
34 function fail(actual, expected, message, operator) { argument
36 ': (' + actual + ' ' + operator + ' ' + expected + ') should hold');
47 function equal(actual, expected, message) { argument
48 if (!(expected == actual)) {
49 fail(actual, expected, message, '==');
53 function notEqual(actual, expected, message) { argument
54 if (!(expected != actual)) {
55 fail(actual, expected, message, '!=');
59 function strictEqual(actual, expected, message) { argument
60 if (!(expected === actual)) {
61 fail(actual, expected, message, '===');
65 function notStrictEqual(actual, expected, message) { argument
66 if (!(expected !== actual)) {
67 fail(actual, expected, message, '!==');