Remove unused Assertion#intersect

This commit is contained in:
Tom Payne
2013-04-30 18:08:24 +02:00
parent 59a4155651
commit c012afdbae

View File

@@ -492,23 +492,6 @@
return this;
};
/**
* Assert that that objects intersect.
* FIXME this is ol3 specific
*
* @param {Object} other
*
* @api public
*/
Assertion.prototype.intersect =
Assertion.prototype.wentToSchoolWith = function(other) {
this.assert(
this.obj.intersects(other)
, function(){ return 'expected ' + i(this.obj) + ' to intersect ' + i(other) }
, function(){ return 'expected ' + i(this.obj) + ' not to intersect ' + i(other) });
return this;
};
/**
* Assert that arrays have the same value.
*