Exemplo n.º 1
0
        protected override void YourTest()
        {
            sw.Start();
            SweepLine sl = new SweepLine();

            studentsResult = sl.RectanglesUnionArea(rectangles.ToArray());
            sw.Stop();
        }
Exemplo n.º 2
0
        protected override void YourTest()
        {
            sw.Start();
            SweepLine sl = new SweepLine();

            studentsResult = sl.VerticalSegmentsUnionLength(segments.ToArray());
            sw.Stop();
        }