public void PutNextRectangle_ReturnRectanglesWithCorrectSize_WhenSendALotOfRectangles() { var generatorCirclePoints = new EternityGeneratorCirclePoints(400, 400); var cloudLayouter = new CircularCloudLayouter(generatorCirclePoints); var countRectangles = 50; var sizes = Enumerable.Range(1, countRectangles) .Select(x => new Size(x * 3, x * 5)) .ToList(); var rectanglesSizes = sizes.Select(x => cloudLayouter.PutNextRectangle(x)) .Select(x => x.Size) .ToList(); rectanglesSizes.ShouldBeEquivalentTo(sizes, AssertionOptions => AssertionOptions.WithStrictOrdering()); }