Searched refs:_expected (Results 1 – 5 of 5) sorted by relevance
47 function isResultCorrect(_actual, _expected) argument49 if (_expected === 0)50 return _actual === _expected && (1/_actual) === (1/_expected);51 if (_actual === _expected)53 if (typeof(_expected) == "number" && isNaN(_expected))55 if (Object.prototype.toString.call(_expected) == Object.prototype.toString.call([]))56 return areArraysEqual(_actual, _expected);
60 function isResultCorrect(_actual, _expected) argument62 if (_expected === 0)63 return _actual === _expected && (1/_actual) === (1/_expected);64 if (_actual === _expected)66 if (typeof(_expected) == "number" && isNaN(_expected))68 if (Object.prototype.toString.call(_expected) == Object.prototype.toString.call([]))69 return areArraysEqual(_actual, _expected);
55 function isResultCorrect(_actual, _expected) argument57 if (_expected === 0)58 return _actual === _expected && (1/_actual) === (1/_expected);59 if (_actual === _expected)61 if (typeof(_expected) == "number" && isNaN(_expected))63 if (Object.prototype.toString.call(_expected) == Object.prototype.toString.call([]))64 return areArraysEqual(_actual, _expected);
15 function isResultCorrect(_actual, _expected)17 if (_expected === 0)18 return _actual === _expected && (1/_actual) === (1/_expected);19 if (_actual === _expected)21 if (typeof(_expected) == "number" && isNaN(_expected))23 if (Object.prototype.toString.call(_expected) == Object.prototype.toString.call([])) {
123 self._expected = expected127 (self._unexpected_method, self._expected)