Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andronov Alexander #224

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Andronov Alexander #224

wants to merge 6 commits into from

Conversation

batyadmx
Copy link

@batyadmx batyadmx commented Dec 5, 2023

[OneTimeSetUp]
public void OneTimeSetup()
{
var path = Path.Combine(projectDirectory, "FailureImages");

This comment was marked as resolved.

}
}

private void GenerateSizes()

This comment was marked as resolved.

Comment on lines 61 to 62
if (rect1.IntersectsWith(rect2))
Assert.False(rect1.IntersectsWith(rect2));

This comment was marked as resolved.

{
var rect = layouter.PutNextRectangle(sizes[0]);

Assert.True(rect.Width == sizes[0].Width && rect.Height == sizes[0].Height);

This comment was marked as resolved.

{
public class CircularCloudLayouterTests
{
private readonly string projectDirectory

This comment was marked as resolved.


namespace TagCloud.Tests
{
public class CircularCloudLayouterTests

This comment was marked as resolved.


namespace TagCloud
{
public class CircularCloudLayouter : ITagCloudLayouter

This comment was marked as resolved.


namespace TagCloud
{
public static class MathHelpers

This comment was marked as resolved.

Comment on lines 55 to 56
movedDx = dx == 0 ? false : OffsetIfDontCollide(ref rect, dx, 0);
movedDy = dy == 0 ? false : OffsetIfDontCollide(ref rect, 0, dy);

This comment was marked as resolved.


private void UpdateDirections()
{
var directions = new List<Vector2>();

This comment was marked as resolved.

{
private int i;
private List<RectangleF> rectangles = new List<RectangleF>();
private PointF center;

This comment was marked as resolved.

private PointF center;
private RectangleF currentRectangle;
private int segmentsCount = 2;
private List<Vector2> directions;

This comment was marked as resolved.

}

[Test]
public void PutNextRectangle_PlaceManyRectangles_ShouldFitInCircleAroundCenter()

This comment was marked as resolved.


namespace TagCloud
{
public class TagCloudForDebug

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants