3909N/A * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. 3551N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3551N/A * This code is free software; you can redistribute it and/or modify it 3551N/A * under the terms of the GNU General Public License version 2 only, as 3551N/A * published by the Free Software Foundation. 3551N/A * This code is distributed in the hope that it will be useful, but WITHOUT 3551N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 3551N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 3551N/A * version 2 for more details (a copy is included in the LICENSE file that 3551N/A * You should have received a copy of the GNU General Public License version 3551N/A * 2 along with this work; if not, write to the Free Software Foundation, 3551N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 3551N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 3551N/A * or visit www.oracle.com if you need additional information or have any 1045N/A * @summary This test verifies the operation (and performance) of the 1045N/A * various CAG operations on the internal Region class. 1045N/A "[-regions N] [-rects M] "+
1045N/A "[-[min|max]rects M] [-area]");
1045N/A "[-add|union] [-sub|diff] "+
1045N/A "[-seed S] [-nocheck] [-count[errors]] [-help]");
1045N/A usage(
"maximum number of subrectangles less than minimum");
1045N/A usage(
"minimum number of subrectangles must be positive");
1045N/A // Note that difference is not commutative so we cannot check equals 1045N/A // checkEqual(a, b, "Difference"); 1045N/A // Used for making sure that 3xMAX translates yields an empty region 1045N/A // Used for making sure that 3xMAX translates yields an empty region 1045N/A // Area objects will actually survive 3 MAX translates so just 1045N/A // pretend that it had the intended effect... 1045N/A // Area does not override hashCode... 1045N/A // Used for making sure that 3xMAX translates yields an empty region 1045N/A // Region objects should be empty after 3 MAX translates...