assert.deepEqual(scalable.getBoundedDimensions({width:448,height:317},10),{width:450,height:300},'getBoundedDimensions without bounds snapped to 10px grid');
scalable.fixedRatio=false;
assert.deepEqual(scalable.getBoundedDimensions({width:448,height:317},10),{width:450,height:320},'getBoundedDimensions without bounds or fixed ratio snapped to 10px grid');
assert.deepEqual(scalable.getBoundedDimensions({width:448,height:317},10),{width:450,height:300},'getBoundedDimensions snapped to 10px grid');
scalable.fixedRatio=false;
assert.strictEqual(scalable.getCurrentScale(),null,'Scale is null when not fixed ratio');
assert.deepEqual(scalable.getBoundedDimensions({width:600,height:600}),{width:600,height:600},'getBoundedDimensions, no fixed ratio');
assert.deepEqual(scalable.getBoundedDimensions({width:448,height:317},10),{width:450,height:320},'getBoundedDimensions snapped to 10px grid, no fixed ratio');
scalable.fixedRatio=true;
assert.strictEqual(scalable.isCurrentDimensionsValid(),true,'300x200 are valid dimensions');
assert.strictEqual(scalable.getCurrentScale(),0.5,'300x200 is scale of 0.5');