test
Class TestBall

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.TestBall
All Implemented Interfaces:
Test

public class TestBall
extends TestCase


Constructor Summary
TestBall(String name)
           
 
Method Summary
protected  void checkCreation(Vect3 position, Vect3 velocity, String name, GameSpace g)
           
protected  void checkEquals(Ball b1, Ball b2)
           
protected  void checkGameSpace(Ball ball, GameSpace g)
           
protected  void checkGetPosition(Ball ball, Vect3 p)
           
protected  void checkGetVelocity(Ball ball, Vect3 v)
           
protected  void checkName(Ball ball, String name)
           
protected  void checkNotEquals(Ball b1, Ball b2)
           
protected  void checkShape(Ball ball)
           
protected  void setUp()
           
 void testCreation()
           
 void testCreation2()
           
 void testEquals()
           
 void testEquals2()
           
 void testName()
           
 void testName2()
           
 void testNotEquals()
           
 void testNotEquals2()
           
 void testPosition()
           
 void testPosition2()
           
 void testShape()
           
 void testShape2()
           
 void testVelocity()
           
 void testVelocity2()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestBall

public TestBall(String name)
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class TestCase

testCreation

public void testCreation()

testCreation2

public void testCreation2()

checkCreation

protected void checkCreation(Vect3 position,
                             Vect3 velocity,
                             String name,
                             GameSpace g)

testPosition

public void testPosition()

testPosition2

public void testPosition2()

checkGetPosition

protected void checkGetPosition(Ball ball,
                                Vect3 p)

testVelocity

public void testVelocity()

testVelocity2

public void testVelocity2()

checkGetVelocity

protected void checkGetVelocity(Ball ball,
                                Vect3 v)

testName

public void testName()

testName2

public void testName2()

checkName

protected void checkName(Ball ball,
                         String name)

checkGameSpace

protected void checkGameSpace(Ball ball,
                              GameSpace g)

testShape

public void testShape()

testShape2

public void testShape2()

checkShape

protected void checkShape(Ball ball)

testEquals

public void testEquals()

testEquals2

public void testEquals2()

testNotEquals

public void testNotEquals()

testNotEquals2

public void testNotEquals2()

checkEquals

protected void checkEquals(Ball b1,
                           Ball b2)

checkNotEquals

protected void checkNotEquals(Ball b1,
                              Ball b2)