org.metaabm.gen.test
Class SpatialModelTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.metaabm.gen.test.share.AgentTestCase
              extended by org.metaabm.gen.test.SpatialModelTestCase
All Implemented Interfaces:
junit.framework.Test

public class SpatialModelTestCase
extends AgentTestCase

Spatial Model Java Implementation. Generated by metaabm system: Apr 13, 2008 3:03:56 PM EDT in project: org.metaabm.gen.repast.test (testing)


Field Summary
 
Fields inherited from class org.metaabm.gen.test.share.AgentTestCase
agentLoaded, targetMode
 
Constructor Summary
SpatialModelTestCase()
          Constructs a new Spatial Model.
 
Method Summary
 ISpatialModel getAgent()
           
 int getComplexLocationCount()
          Gets the Complex Location Count property for Spatial Model.
 int getComplexMovementAgentCount()
          Gets the Complex Movement Agent Count property for Spatial Model.
 double[] getGoodBoundary()
          Gets the Good Boundary property for Spatial Model.
 int getSpatialModelAgentCount()
          Gets the Spatial Model Agent Count property for Spatial Model.
 void setComplexLocationCount(int complexLocationCount)
          Sets the Complex Location Count property for Spatial Model.
 void setComplexMovementAgentCount(int complexMovementAgentCount)
          Sets the Complex Movement Agent Count property for Spatial Model.
 void setGoodBoundary(double[] goodBoundary)
          Sets the Good Boundary property for Spatial Model.
 void setSpatialModelAgentCount(int spatialModelAgentCount)
          Sets the Spatial Model Agent Count property for Spatial Model.
 void setUp()
           
 void testExistence()
           
 
Methods inherited from class org.metaabm.gen.test.share.AgentTestCase
setAgentLoaded
 
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

SpatialModelTestCase

public SpatialModelTestCase()
Constructs a new Spatial Model.

Method Detail

setUp

public void setUp()
Overrides:
setUp in class AgentTestCase

getAgent

public ISpatialModel getAgent()

testExistence

public void testExistence()

getComplexMovementAgentCount

public int getComplexMovementAgentCount()
Gets the Complex Movement Agent Count property for Spatial Model.

Returns:
The number of complex movement agents to create.

setComplexMovementAgentCount

public void setComplexMovementAgentCount(int complexMovementAgentCount)
Sets the Complex Movement Agent Count property for Spatial Model. The number of complex movement agents to create.

Parameters:
_complexMovementAgentCount - the new Complex Movement Agent Count value

getComplexLocationCount

public int getComplexLocationCount()
Gets the Complex Location Count property for Spatial Model.

Returns:
The number of complex locations to create.

setComplexLocationCount

public void setComplexLocationCount(int complexLocationCount)
Sets the Complex Location Count property for Spatial Model. The number of complex locations to create.

Parameters:
_complexLocationCount - the new Complex Location Count value

getSpatialModelAgentCount

public int getSpatialModelAgentCount()
Gets the Spatial Model Agent Count property for Spatial Model.

Returns:
The number of spatial model agents to create.

setSpatialModelAgentCount

public void setSpatialModelAgentCount(int spatialModelAgentCount)
Sets the Spatial Model Agent Count property for Spatial Model. The number of spatial model agents to create.

Parameters:
_spatialModelAgentCount - the new Spatial Model Agent Count value

getGoodBoundary

public double[] getGoodBoundary()
Gets the Good Boundary property for Spatial Model.

Returns:

setGoodBoundary

public void setGoodBoundary(double[] goodBoundary)
Sets the Good Boundary property for Spatial Model.

Parameters:
_goodBoundary - the new Good Boundary value