[cgma-dev] r2822 - cgm/trunk/test

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Wed Apr 15 08:41:30 CDT 2009


Author: janehu
Date: 2009-04-15 08:41:28 -0500 (Wed, 15 Apr 2009)
New Revision: 2822

Modified:
   cgm/trunk/test/modify.cpp
Log:
Hopefully fixed the nightly test for 32 bit build.

Modified: cgm/trunk/test/modify.cpp
===================================================================
--- cgm/trunk/test/modify.cpp	2009-04-15 13:21:38 UTC (rev 2821)
+++ cgm/trunk/test/modify.cpp	2009-04-15 13:41:28 UTC (rev 2822)
@@ -487,7 +487,7 @@
   v = new_bodies.get()->center_point(); //v = (7.5, 5, .05)
   int n = new_bodies.get()->num_ref_faces();
   assert( n == 6);
-  assert (50 -d < 0.0001 && d < 50);
+  assert (50 -d < 0.0001 && d <= 50);
   CubitVector test_v(7.5, 5, .5);
   assert (v == test_v);
   //new bodies has 2 bodies, one has a volume = 10 and the other has a 



More information about the cgma-dev mailing list