Skip to content

Commit

Permalink
added normal test
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Sep 24, 2024
1 parent e17cacb commit 5ea50a4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/ACadSharp.Tests/IO/WriterSingleObjectTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ public void EntityColorTrueColor()
this.Document.Entities.Add(c);
}

public void EntityChangeNormal()
{
Circle c = new Circle();
c.Center = new XYZ(0, 0, 0);
c.Radius = 10;

c.Normal = XYZ.AxisX;

this.Document.Entities.Add(c);
}

public void EntityColorByIndex()
{
Circle c = new Circle();
Expand Down Expand Up @@ -419,6 +430,7 @@ static WriterSingleObjectTests()
Data.Add(new(nameof(SingleCaseGenerator.SingleMLine)));
Data.Add(new(nameof(SingleCaseGenerator.EntityColorByLayer)));
Data.Add(new(nameof(SingleCaseGenerator.EntityColorTrueColor)));
Data.Add(new(nameof(SingleCaseGenerator.EntityChangeNormal)));
Data.Add(new(nameof(SingleCaseGenerator.EntityColorByIndex)));
Data.Add(new(nameof(SingleCaseGenerator.CurrentEntityColorTrueColor)));
Data.Add(new(nameof(SingleCaseGenerator.CurrentEntityByIndex)));
Expand Down

0 comments on commit 5ea50a4

Please sign in to comment.