use of aima.core.environment.vacuum.VacuumEnvironmentViewActionTracker in project aima-java by aimacode.
the class ModelBasedReflexVacuumAgentTest method testCleanClean.
@Test
public void testCleanClean() {
VacuumEnvironment tve = new VacuumEnvironment(VacuumEnvironment.LocationState.Clean, VacuumEnvironment.LocationState.Clean);
tve.addAgent(agent, VacuumEnvironment.LOCATION_A);
tve.addEnvironmentView(new VacuumEnvironmentViewActionTracker(envChanges));
tve.stepUntilDone();
Assert.assertEquals("Action[name==Right]Action[name==NoOp]", envChanges.toString());
}
Aggregations