Page MenuHomeWildfire Games

Hierarchical Pathfinder tests (D53 outtake)
ClosedPublic

Authored by wraitii on Apr 20 2019, 9:21 AM.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP22205: Add tests for the hierarchical pathfinder.
Summary

Tests for the hierarchical pathfinder.

These variously test some simple MakeGoalReachable and FindNearestNavcell calls, as well as checking edges and regions when updating the map.

(D53 outtake)

Test Plan

Give it a look. These pass on svn and subsequent D53 outtake rely on them for safety/confidence, so I'd like to commit this quickly.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

wraitii created this revision.Apr 20 2019, 9:21 AM

Successful build - Chance fights ever on the side of the prudent.

Linter detected issues:
Executing section Source...

source/simulation2/helpers/HierarchicalPathfinder.h
|   1| /*·Copyright·(C)·2015·Wildfire·Games.
|    | [NORMAL] LicenseYearBear:
|    | License should have "2019" year instead of "2015"
Executing section JS...
Executing section cli...

Link to build: https://jenkins.wildfiregames.com/job/differential/1234/display/redirect

This revision was not accepted when it landed; it landed in state Needs Review.Apr 22 2019, 2:08 PM
This revision was automatically updated to reflect the committed changes.