using System; using System.Collections.Generic; using System.Linq; using System.Text; using Azimuth; namespace Annulus.UnitTests { public class SimplePolygonTests : UnitTestSharp.TestFixture { // Note: much of this is already tested in the Utilities tests public class SVGBuilder : UnitTestSharp.TestFixture { public void Basic() { var polygon = new SimplePolygon(new Vector[] { new Vector(0, 1), new Vector(1, 0), new Vector(0, 0), }); string styleEtc = @"style=""fill:lime;stroke:purple;stroke-width:1"""; var SVG = polygon.BuildSVGRepresentation(styleEtc); CheckEqual("", SVG); } } } }