public void PointInPolygon(TestPoint location, TestSize size, TestPoint point, bool isInside) { RectangularPolygon shape = new RectangularPolygon(location, size); Assert.Equal(isInside, shape.Contains(point)); }