Ejemplo n.º 1
0
def test_get_sorted_lower():
	rects = map(lambda o: R(*o), RECTS)

	cloud = RectangleCloud(rects)
	assert (
		cloud.get_sorted_lower()
		== [rects[0], rects[1], rects[2], rects[3], rects[4]]
	)