Skip to content

Pathfinding Test Plan

kk4w4i edited this page Oct 4, 2023 · 5 revisions

Overview The goal of this test plan is to consider scenarios for the pathfinder, and check whether it outputs the correct path. The key tests will be whether the pathfinder correctly finds the "best" path, and whether the pathfinder reads the grid layout correctly.

Setup Load in the a map with obstacles placed on the map

test 1: test if the nodes correctly mirror the "red" tiles (tiles that have an obstacle on it)

test 2: test if the update function correctly updates the tiles

test 3: simulate a straight forward task (no obstacle in the way)

test 4: simulate a straight forward task (with obstacle in the way)

Clone this wiki locally