public void TestConvexHull1() { List <Point> al = new List <Point>(); for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { al.Add(new Point(i, j)); } } Poly p = Poly.ConvexHull(new Poly(al.ToArray())); Assert.AreEqual(4, p.point.Length); }