Ejemplo n.º 1
0
 public void AreaOfClockwiseWindingIsPositive()
 {
     var shape = new[] { new Vector2(0, 0), new Vector2(0, 10), new Vector2(10, 10), new Vector2(10, 0) };
     var area = shape.Area();
     MsAssert.AreEqual(100f, area);
 }