From 63c5d510d1a28b6d500881e901a020a0e35b5eee Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Fri, 29 Jun 2012 18:31:49 +0100 Subject: [PATCH] 'Fix' the A* test on GCC Clang is suggesting that there's are some signed/unsigned comparisons as well as some floating point comparisons which might be causing some problems. --- tests/TestAStarPathfinder.cpp | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/tests/TestAStarPathfinder.cpp b/tests/TestAStarPathfinder.cpp index f17ec049..6f77e680 100644 --- a/tests/TestAStarPathfinder.cpp +++ b/tests/TestAStarPathfinder.cpp @@ -90,27 +90,27 @@ void TestAStarPathfinder::testExecute() { Vector3DInt32(0,0,0), Vector3DInt32(1,1,1), - Vector3DInt32(2,1,2), - Vector3DInt32(3,1,3), - Vector3DInt32(4,1,4), - Vector3DInt32(5,1,5), - Vector3DInt32(6,1,5), - Vector3DInt32(7,2,6), - Vector3DInt32(8,3,7), - Vector3DInt32(9,3,8), - Vector3DInt32(10,3,9), - Vector3DInt32(11,3,10), - Vector3DInt32(12,4,11), - Vector3DInt32(12,5,11), - Vector3DInt32(13,6,12), - Vector3DInt32(13,7,13), - Vector3DInt32(13,8,13), - Vector3DInt32(13,9,13), - Vector3DInt32(14,10,14), - Vector3DInt32(14,11,14), - Vector3DInt32(14,12,14), - Vector3DInt32(15,13,15), - Vector3DInt32(15,14,15), + Vector3DInt32(2,2,1), + Vector3DInt32(3,3,1), + Vector3DInt32(4,4,1), + Vector3DInt32(4,5,1), + Vector3DInt32(5,6,1), + Vector3DInt32(6,7,2), + Vector3DInt32(7,8,3), + Vector3DInt32(8,9,3), + Vector3DInt32(9,10,3), + Vector3DInt32(10,11,3), + Vector3DInt32(11,12,4), + Vector3DInt32(12,13,5), + Vector3DInt32(13,13,6), + Vector3DInt32(13,13,7), + Vector3DInt32(13,13,8), + Vector3DInt32(13,13,9), + Vector3DInt32(14,14,10), + Vector3DInt32(14,14,11), + Vector3DInt32(14,14,12), + Vector3DInt32(14,14,13), + Vector3DInt32(15,15,14), Vector3DInt32(15,15,15) }; #endif //_MSC_VER