add missing files

only report fail if there are actual failures
This commit is contained in:
erwin coumans
2013-03-12 14:51:43 -07:00
parent 477a7f9e39
commit ecdb0e52ca
26 changed files with 11854 additions and 4 deletions

View File

@@ -81,8 +81,9 @@ inline void broadphaseTest()
int usrPtr = 1;
sap->createProxy(aabbMin,aabbMax,usrPtr,group,mask);
// aabbMin.setValue(2,2,2);
// aabbMax.setValue(3,3,3);
aabbMin.setValue(1,1,1);
aabbMax.setValue(2,2,2);
usrPtr = 2;
sap->createProxy(aabbMin,aabbMax,usrPtr,group,mask);
sap->writeAabbsToGpu();
@@ -113,8 +114,13 @@ int main(int argc, char** argv)
broadphaseTest();
printf("%d tests passed, %d tests failed\n",g_nPassed, g_nFailed);
printf("%d tests passed\n",g_nPassed, g_nFailed);
if (g_nFailed)
{
printf("%d tests failed\n",g_nFailed);
}
printf("End, press <enter>\n");
getchar();
exitCL();