fix(test): assert vertex count against Polygon.Empty

This commit is contained in:
Oliver Booth 2023-04-03 13:54:23 +01:00
parent 262f191799
commit 8b4fd45e05
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using System.Drawing;
using System.Drawing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using X10D.Drawing;
@ -27,7 +27,7 @@ public class PolygonTests
Assert.AreEqual(2, polygon.VertexCount);
// assert that the empty polygon was not modified
Assert.AreEqual(0, PolygonF.Empty.VertexCount);
Assert.AreEqual(0, Polygon.Empty.VertexCount);
polygon.ClearVertices();
Assert.AreEqual(0, polygon.VertexCount);