(self, point: Point)
| 71 | return self.bot_right.x - self.top_left.x |
| 72 | |
| 73 | def contains(self, point: Point) -> bool: |
| 74 | x_contained = self.top_left.x <= point.x and point.x <= self.bot_right.x |
| 75 | y_contained = self.top_left.y <= point.y and point.y <= self.bot_right.y |
| 76 | return x_contained and y_contained |
| 77 | |
| 78 | def random_point_inside(self) -> Point: |
| 79 | x = randint(self.top_left.x, self.bot_right.x) |
no outgoing calls
no test coverage detected