Ejemplo n.º 1
0
        public void CreateHexagonTest_With1Points()
        {
            shapeBUS = new ShapeBUS();
            shapeBUS.AddPoint(new Point(0, 0));

            shapeBUS.CreateHexagon();
        }
Ejemplo n.º 2
0
        public void CreateHexagonTest_With6Points()
        {
            shapeBUS = new ShapeBUS();
            shapeBUS.AddPoint(new Point(0, 0));
            shapeBUS.AddPoint(new Point(5, 5));
            shapeBUS.AddPoint(new Point(6, 5));
            shapeBUS.AddPoint(new Point(9, 5));
            shapeBUS.AddPoint(new Point(15, 5));
            shapeBUS.AddPoint(new Point(12, 5));

            shapeBUS.CreateHexagon();
        }