model.fish.tests
Class Test_GenericFish

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bymodel.fish.tests.Test_GenericFish
All Implemented Interfaces:
junit.framework.Test

public class Test_GenericFish
extends junit.framework.TestCase

Tests for GenericFish.

Author:
Mathias Ricken

Nested Class Summary
private static class Test_GenericFish.TestAllWayLocalEnv
           
private static class Test_GenericFish.TestNoWayLocalEnv
           
private static class Test_GenericFish.TestOneWayLocalEnv
           
private static class Test_GenericFish.TestTwoWayLocalEnv
           
 
Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
Test_GenericFish()
           
 
Method Summary
 void testAllWays()
          Test all ways to move.
 void testNoWay()
          Test no way to move.
 void testOneWay()
          Test one way to move.
 void testTwoWays()
          Test two ways to move.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Test_GenericFish

public Test_GenericFish()
Method Detail

testNoWay

public void testNoWay()
Test no way to move.


testOneWay

public void testOneWay()
Test one way to move.


testTwoWays

public void testTwoWays()
Test two ways to move.


testAllWays

public void testAllWays()
Test all ways to move.