testing.physicsEngine
Class ShapeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by testing.physicsEngine.ShapeTest
All Implemented Interfaces:
junit.framework.Test

public class ShapeTest
extends junit.framework.TestCase

Tests whether the Shape package is implemented correctly.

Author:
Peng Shi

Constructor Summary
ShapeTest()
           
 
Method Summary
 void testPolygonCoordinate()
          Tests whether we can translate between relative coordinates (of a shape) and absolute coordinates (taking into account rotation and positsion).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShapeTest

public ShapeTest()
Method Detail

testPolygonCoordinate

public void testPolygonCoordinate()
Tests whether we can translate between relative coordinates (of a shape) and absolute coordinates (taking into account rotation and positsion).