blob: 470eb589b72f459506b89f362be247697dadd716 [file] [log] [blame]
package org.metaabm.gen.test;
import org.metaabm.gen.test.share.AgentTestCase;
/**
* Complex Movement Agent Java Implementation. Generated by metaabm system: Apr
* 13, 2008 3:03:56 PM EDT in project: org.metaabm.gen.repast.test (testing)
*/
public class ComplexMovementAgentTestCase extends AgentTestCase {
/**
* Constructs a new Complex Movement Agent.
*/
public ComplexMovementAgentTestCase() {
super("org.eclipse.amp.amf.gen.repast.test.target", "Complex Movement Agent Test",
"org.eclipse.amp.amf.gen.test.ComplexMovementAgent");
}
public void setUp() {
agentLoaded = new ComplexMovementAgent();
}
public IComplexMovementAgent getAgent() {
return (IComplexMovementAgent) agentLoaded;
}
public void testExistence() {
assertNotNull(getAgent());
}
/**
* .
*/
public void testDieAll() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testDieAll_Pre) ENABLED
* START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testDieAll();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testDieAll_Post) ENABLED
* START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testNegateSpatialThenIdentity() {
/*
* PROTECTED REGION
* ID(ComplexMovementAgent_testNegateSpatialThenIdentity_Pre) ENABLED
* START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testNegateSpatialThenIdentity();
/*
* PROTECTED REGION
* ID(ComplexMovementAgent_testNegateSpatialThenIdentity_Post) ENABLED
* START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testNegateSpatialWithIdentity() {
/*
* PROTECTED REGION
* ID(ComplexMovementAgent_testNegateSpatialWithIdentity_Pre) ENABLED
* START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testNegateSpatialWithIdentity();
/*
* PROTECTED REGION
* ID(ComplexMovementAgent_testNegateSpatialWithIdentity_Post) ENABLED
* START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testHostHere() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testHostHere_Pre) ENABLED
* START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testHostHere();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testHostHere_Post) ENABLED
* START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testConnectRandomOther() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testConnectRandomOther_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testConnectRandomOther();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testConnectRandomOther_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testSetRandomOther() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomOther_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testSetRandomOther();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomOther_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testSetRandomOtherIf() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomOtherIf_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testSetRandomOtherIf();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomOtherIf_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testSetRandomPostQuery() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomPostQuery_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testSetRandomPostQuery();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testSetRandomPostQuery_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testParallelSpatial() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testParallelSpatial_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testParallelSpatial();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testParallelSpatial_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testParallelRoot() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testParallelRoot_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testParallelRoot();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testParallelRoot_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testParallelWithNetwork() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testParallelWithNetwork_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testParallelWithNetwork();
/*
* PROTECTED REGION
* ID(ComplexMovementAgent_testParallelWithNetwork_Post) ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* .
*/
public void testNestedStatements() {
/*
* PROTECTED REGION ID(ComplexMovementAgent_testNestedStatements_Pre)
* ENABLED START
*/
// Pre-Conditions Here
/* PROTECTED REGION END */
getAgent().testNestedStatements();
/*
* PROTECTED REGION ID(ComplexMovementAgent_testNestedStatements_Post)
* ENABLED START
*/
// Post-Conditions Here
/* PROTECTED REGION END */
}
/**
* Gets the Some Boolean property for Complex Movement Agent.
*
* @return
*/
public boolean isSomeBoolean() {
return getAgent().isSomeBoolean();
}
/**
* Sets the Some Boolean property for Complex Movement Agent.
*
* @param _someBoolean the new Some Boolean value
*/
public void setSomeBoolean(boolean someBoolean) {
getAgent().setSomeBoolean(someBoolean);
}
/**
* Gets the Within Space property for Complex Movement Agent.
*
* @return
*/
public double[] getWithinSpace() {
return getAgent().getWithinSpace();
}
/**
* Sets the Within Space property for Complex Movement Agent.
*
* @param _withinSpace the new Within Space value
*/
public void setWithinSpace(double[] withinSpace) {
getAgent().setWithinSpace(withinSpace);
}
/**
* Gets the Result property for Complex Movement Agent.
*
* @return
*/
public int getResult() {
return getAgent().getResult();
}
/**
* Sets the Result property for Complex Movement Agent.
*
* @param _result the new Result value
*/
public void setResult(int result) {
getAgent().setResult(result);
}
/**
* Gets the Spatial State property for Complex Movement Agent.
*
* @return
*/
public SpatialStateEnum getSpatialState() {
return getAgent().getSpatialState();
}
/**
* Sets the Spatial State property for Complex Movement Agent.
*
* @param _spatialState the new Spatial State value
*/
public void setSpatialState(SpatialStateEnum spatialState) {
getAgent().setSpatialState(spatialState);
}
/**
* Gets the Vision property for Complex Movement Agent.
*
* @return
*/
public int getVision() {
return getAgent().getVision();
}
/**
* Sets the Vision property for Complex Movement Agent.
*
* @param _vision the new Vision value
*/
public void setVision(int vision) {
getAgent().setVision(vision);
}
}