Updated tests/TestContactAngle.cpp

This commit is contained in:
James McClure
2014-12-29 18:54:47 -05:00
parent d5633cae5f
commit bbbd0ada1e

View File

@@ -202,10 +202,13 @@ int main (int argc, char *argv[])
//.........................................................................
int toReturn = 0;
if (fabs(efawns/lwns - 1.0*RADIUS/CAPRAD)/(1.0*RADIUS/CAPRAD) > 0.01){
if (fabs(efawns - 1.0*RADIUS/CAPRAD)/(1.0*RADIUS/CAPRAD) > 0.01){
toReturn = 1;
printf("tests/TestContactAngle.cpp: exceeded error tolerance for the contact angle \n");
}
else{
printf("Contact angle: passed test");
}
return toReturn;
}