/[escript]/trunk/pycad/test/python/run_pycad_test.py
ViewVC logotype

Diff of /trunk/pycad/test/python/run_pycad_test.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2626 by jfenwick, Mon Jul 20 06:43:47 2009 UTC revision 2627 by gross, Mon Aug 24 01:57:34 2009 UTC
# Line 3812  class Test_PyCAD_Design(unittest.TestCas Line 3812  class Test_PyCAD_Design(unittest.TestCas
3812                
3813         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4)         d.setOptions(algorithm=d.TETGEN,optimize_quality=False,smoothing=4)
3814         cmd=d.getCommandString()         cmd=d.getCommandString()
3815         self.failUnless("gmsh -format msh -2 -algo tetgen -smooth 4 -v 0 -order 1 -o %s %s"%(os.path.join(".","mesh.msh"), os.path.join(".","script.geo")) == cmd)         self.failUnless("gmsh -format msh -2 -algo tetgen -smooth 4 -v 0 -order 1 -o %s %s"%(os.path.join(".","mesh.msh"), os.path.join(".","script.geo")) == cmd%os.path.join(".","script.geo"))
3816    
3817         d.setOptions(optimize_quality=True)         d.setOptions(optimize_quality=True)
3818         cmd=d.getCommandString()         cmd=d.getCommandString()
3819         self.failUnless("gmsh -format msh -2 -algo iso -smooth 1 -optimize -v 0 -order 1 -o %s %s"%(os.path.join(".","mesh.msh"), os.path.join(".","script.geo")) == cmd)         self.failUnless("gmsh -format msh -2 -algo iso -smooth 1 -optimize -v 0 -order 1 -o %s %s"%(os.path.join(".","mesh.msh"), os.path.join(".","script.geo")) == cmd%os.path.join(".","script.geo"))
3820    
3821         p0=Point(0.,0.,0.)         p0=Point(0.,0.,0.)
3822         p1=Point(1.,0.,0.)         p1=Point(1.,0.,0.)

Legend:
Removed from v.2626  
changed lines
  Added in v.2627

  ViewVC Help
Powered by ViewVC 1.1.26