1
/* *******************************************************************
2
* Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
4
* This program and the accompanying materials are made available
5
* under the terms of the Eclipse Public License v1.0
6
* which accompanies this distribution and is available at
7
* http://www.eclipse.org/legal/epl-v10.html
10
* PARC initial implementation
11
* ******************************************************************/
17
import junit.framework.*;
18
import java.util.List;
19
import java.util.Arrays;
21
public class Test3d extends CoreTest {
23
public static void main(String[] args) {
24
junit.textui.TestRunner.run(Test3d.class);
27
public void testDuplicateAdd() {
29
Point p1 = new Point(10, 100);
30
Group g1 = new Group(p1);
32
Group g2 = new Group(p1);
33
fail("should have thrown IllegalStateException");
34
} catch (IllegalStateException ea) {