()
| 79 | } |
| 80 | |
| 81 | public void testGetPath() { |
| 82 | setupMapData(null,null,null); |
| 83 | Coord c,c2; |
| 84 | mbm.getInitialLocation(); |
| 85 | Path path = mbm.getPath(); |
| 86 | c = path.getNextWaypoint(); |
| 87 | |
| 88 | while (path.hasNext()) { |
| 89 | c2 = path.getNextWaypoint(); |
| 90 | // adjacent nodes are always 1 meter apart (in the test topology) |
| 91 | assertEquals(1.0, c.distance(c2)); |
| 92 | c = c2; |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | public void testOneMapTypeNode() { |
| 97 | int NROF = 10; |
nothing calls this directly
no test coverage detected