You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Test4a.java 858B

1234567891011121314151617181920212223242526272829
  1. /* *******************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Common Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/cpl-v10.html
  8. *
  9. * Contributors:
  10. * PARC initial implementation
  11. * ******************************************************************/
  12. package tests;
  13. import figures.*;
  14. import java.awt.Rectangle;
  15. import junit.framework.*;
  16. public class Test4a extends CoreTest {
  17. public static void main(String[] args) {
  18. junit.textui.TestRunner.run(Test4a.class);
  19. }
  20. public void testGroupBounds() {
  21. assertEquals(g.getBounds(), FigureElement.MAX_BOUNDS);
  22. }
  23. }