( rect, x, y )
| 97 | QUnit.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 |