add node grids for tests and test for interpolation update

This commit is contained in:
Sarah Hoffmann
2017-01-09 20:41:57 +01:00
parent 0916d72ddf
commit e04838cc71
3 changed files with 97 additions and 2 deletions

View File

@@ -196,6 +196,15 @@ class OSMDataFactory(object):
return scene
def clear_grid(self):
self.grid = {}
def add_grid_node(self, nodeid, x, y):
self.grid[nodeid] = (x, y)
def grid_node(self, nodeid):
return self.grid.get(nodeid)
def before_all(context):
# logging setup