MCPcopy
hub / github.com/metafizzy/packery / checkRect

Function checkRect

test/unit/test-packer.js:99–102  ·  view source on GitHub ↗
( rect, x, y )

Source from the content-addressed store, hash-verified

97QUnit.test( 'packing horizontal', function( assert ) {
98
99 function checkRect( rect, x, y ) {
100 assert.equal( rect.x, x, 'x: ' + x );
101 assert.equal( rect.y, y, 'y: ' + y );
102 }
103
104 var packr = new Packer( 100, 30, 'rightwardTopToBottom' );
105

Callers 1

test-packer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected