Rectangle test updates (#3578)
* Rectangle tests Converted to arrow functions Added new tests and new cases to existing tests Removed unreachable ternary in Rectangle.pad() Fixed invalid comparison in Rectangle.enlarge() Changed param name in Rectangle.enlarge(rectangle) to match other methods * Reverted ternary change in Rectangle.pad() Removed empty Rectangle check in Rectangle.enlarge() Additional Rectangle.fit() test * Fixed Rectangle.enlarge() test to account for changed logic if passed Rectangle is empty * Changed arrow functions back to regular functions in Rectangle.js tests
batch-dev
bugfix/polygon-offset
dev
dev-blendmode-add-again
dev-canvas-renderer-dirty-transform
dev-graphics-fix-batches
dev-line-join
dev-offscreen-canvas
dev-renderTexture-pool
dev-replace-buble-with-babel
englercj/update-s3
feature-nine-slice-canvas-tint
fix-svg
master
multiple-pointer-down-events
upgrade
v4.x
v5.0.4
v5.0.3
v5.0.2
v5.0.1
v5.0.0-rc.3
v5.0.0-rc.2
v5.0.0-rc
v5.0.0-alpha.3
v5.0.0-alpha.2
v5.0.0-alpha
v5.0.0
v4.8.8
v4.8.7
v4.8.6
v4.8.5
v4.8.4
v4.8.3
v4.8.2
v4.8.1
v4.8.0
v4.7.3
v4.7.2
v4.7.1
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.6
v4.5.5
v4.5.4
v4.5.3
v4.5.2
v4.5.1
v4.5.0
floattex
|
---|
|
src/core/math/shapes/Rectangle.js |
---|
test/core/Rectangle.js |
---|