(Square other)
| 19 | } |
| 20 | |
| 21 | public boolean contains(Square other) { |
| 22 | if (this.left <= other.left && this.right >= other.right && this.top <= other.top && this.bottom >= other.bottom) { |
| 23 | return true; |
| 24 | } |
| 25 | return false; |
| 26 | } |
| 27 | |
| 28 | /* Return the point where the line segment connecting mid1 and |
| 29 | * mid2 intercepts the edge of square 1. That is, draw a line |
no outgoing calls
no test coverage detected