Add math operator method tests for objects.

This commit is contained in:
John-David Dalton
2016-04-21 01:00:43 -07:00
parent 2ea08ccd36
commit 076e4e6db5

View File

@@ -20840,6 +20840,13 @@
});
});
QUnit.test('`_.' + methodName + '` should convert objects to `NaN`', function(assert) {
assert.expect(2);
assert.deepEqual(func(0, {}), NaN);
assert.deepEqual(func({}, 0), NaN);
});
QUnit.test('`_.' + methodName + '` should convert symbols to `NaN`', function(assert) {
assert.expect(2);