(x, y, width, height)
| 3 | describe('Phaser.Geom.Intersects.RectangleToRectangle', function () |
| 4 | { |
| 5 | function makeRect(x, y, width, height) |
| 6 | { |
| 7 | return { |
| 8 | x: x, |
| 9 | y: y, |
| 10 | width: width, |
| 11 | height: height, |
| 12 | right: x + width, |
| 13 | bottom: y + height |
| 14 | }; |
| 15 | } |
| 16 | |
| 17 | it('should return true when two rectangles overlap', function () |
| 18 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…