libgdx / gdx-ai

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines
Apache License 2.0
1.2k stars 242 forks source link

Add basic unit tests for indexed A* pathfinding #47

Closed andrew-arnott closed 9 years ago

andrew-arnott commented 9 years ago

I noticed there weren't any unit tests for the pathfinding (only tests that require the full application to be running), so I thought it would be worthwhile to add some. The tests should add at least a little protection against regressions.

davebaol commented 9 years ago

Thanks :)