[GRASS-SVN] r54832 - in grass-addons/grass7/raster/r.agent: libagent tests
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 1 16:10:43 PST 2013
Author: mic
Date: 2013-02-01 16:10:43 -0800 (Fri, 01 Feb 2013)
New Revision: 54832
Modified:
grass-addons/grass7/raster/r.agent/libagent/world.py
grass-addons/grass7/raster/r.agent/tests/test_world.py
Log:
removed unused method
Modified: grass-addons/grass7/raster/r.agent/libagent/world.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/world.py 2013-02-01 18:46:04 UTC (rev 54831)
+++ grass-addons/grass7/raster/r.agent/libagent/world.py 2013-02-02 00:10:43 UTC (rev 54832)
@@ -97,13 +97,6 @@
raise error.DataError("world.bear", "invalid position")
agent.setposition(position)
- def getposition(self, agent):
- """
- Ask the agent for its current position
- @param agent to be asked
- """
- pass
-
def getneighbourpositions(self, position, freedom=None):
"""
Get all the positions reachable
Modified: grass-addons/grass7/raster/r.agent/tests/test_world.py
===================================================================
--- grass-addons/grass7/raster/r.agent/tests/test_world.py 2013-02-01 18:46:04 UTC (rev 54831)
+++ grass-addons/grass7/raster/r.agent/tests/test_world.py 2013-02-02 00:10:43 UTC (rev 54832)
@@ -43,9 +43,6 @@
self.world.move(agent, position)
self.assertEqual(agent.position, position)
- def test_getposition(self):
- pass
-
def test_getneighbourpositions(self):
pass
More information about the grass-commit
mailing list