Sha256: 1b38918025d2fb425420880fefe79cb0dc6df0a2a01fece9bfe82a537d9f997e
Contents?: true
Size: 473 Bytes
Versions: 8
Compression:
Stored size: 473 Bytes
Contents
describe('body', function(){ var e; beforeEach(function(){ e = re.e('body'); }); it('hit', function(){ e.bodyX = 40; e.bodyY = 40; not(e.hit(41, 0, 40, 40)) var o = {posY:0, posX:0, sizeX:40, sizeY:30}; ok(e.hit(o)) }); it('hitBody', function(){ e.bodyX = 40; e.bodyY = 40; not(e.hitBody(41, 0, 40, 40, 0, 0)) var o = {posY:0, posX:0, bodyX:40, bodyY:30, padX:0, padY:0}; ok(e.hitBody(o)) }); });
Version data entries
8 entries across 8 versions & 1 rubygems