group1.tests
Class EnvironmentTest

java.lang.Object
  extended by TestCase
      extended by group1.tests.EnvironmentTest

public class EnvironmentTest
extends TestCase

Test file for Environment class. Runnable (with main), and uses JUnit tests.


Constructor Summary
EnvironmentTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void makeEnv(java.lang.String filename)
           
 void setUp()
          
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentTest

public EnvironmentTest()
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

setUp


makeEnv

public void makeEnv(java.lang.String filename)
             throws java.io.IOException
Throws:
java.io.IOException

testGround

Throws:
java.io.IOException

testGoRightIntoWall

Throws:
java.io.IOException

testGoLeftIntoWall

Throws:
java.io.IOException

testGoUpIntoCeiling

Throws:
java.io.IOException

testJeffSlowsToAStop

Throws:
java.io.IOException

testJeffFreeFloats

Throws:
java.io.IOException

testJeffFallsAndGoesBoom

Throws:
java.io.IOException

tearDown