From 4bc7629f4228ee00db424b9fb535cdcce15122d7 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Tue, 17 Mar 2015 19:18:27 +0000 Subject: [PATCH] simplified astar test program --- t/astar.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/t/astar.c b/t/astar.c index 2ed40c0..abdf4ec 100644 --- a/t/astar.c +++ b/t/astar.c @@ -38,7 +38,7 @@ int main(void) { struct HL_astar *p; int length; - plan_tests(17); + plan_tests(16); p = HL_astar_init(0); ok(p != NULL, "allocated astar struct"); @@ -46,12 +46,6 @@ int main(void) { ok(p->open == NULL, "initial open list empty"); ok(p->closed == NULL, "initial closed list empty"); - p->start = HL_cantor_xy(1, 1); - p->goal = HL_cantor_xy(1, 2); - - length = HL_findpath(p, 0); - ok(p->error == 0, "path finding returns no error"); - pcheck(p, 1,1, 1,3, 2); pcheck(p, 1,1, 2,1, 1); pcheck(p, 1,1, 2,2, 2); -- 2.40.0