/[escript]/trunk/finley/test/python/run_visualization_interface.py
ViewVC logotype

Diff of /trunk/finley/test/python/run_visualization_interface.py

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

revision 1184 by gross, Wed May 30 06:08:44 2007 UTC revision 1185 by gross, Thu May 31 04:33:31 2007 UTC
# Line 36  class Test_VisualizationInterface(unitte Line 36  class Test_VisualizationInterface(unitte
36             line=out_string[c].strip()             line=out_string[c].strip()
37         if os.name == "nt":         if os.name == "nt":
38             line=line.replace("e+00","e+0").replace("e-00","e-0")             line=line.replace("e+00","e+0").replace("e-00","e-0")
39         line=line.replace("e-00","e+00")         line=line.replace("e-00","e+00").replace("-0.000000e+00","0.000000e+00")
40             self.failUnlessEqual(line,ref_string[l].strip(),"line %d (%s) in vtk files does not match reference (%s)"%(c,line,ref_string[l].strip()))             self.failUnlessEqual(line,ref_string[l].strip(),"line %d (%s) in vtk files does not match reference (%s)"%(c,line,ref_string[l].strip()))
41             c+=1             c+=1
42    
# Line 49  class Test_VisualizationInterface(unitte Line 49  class Test_VisualizationInterface(unitte
49         line=out_string[c].strip()         line=out_string[c].strip()
50         if os.name == "nt":         if os.name == "nt":
51             line=line.replace("e+00","e+0").replace("e-00","e-0")             line=line.replace("e+00","e+0").replace("e-00","e-0")
52         line=line.replace("e-00","e+00")         line=line.replace("e-00","e+00").replace("-0.000000e+00","0.000000e+00")
53             self.failUnlessEqual(line,ref_string[l].strip(),"line %d (%s) in dx file does not match reference (%s)"%(c,line,ref_string[l].strip()))             self.failUnlessEqual(line,ref_string[l].strip(),"line %d (%s) in dx file does not match reference (%s)"%(c,line,ref_string[l].strip()))
54             c+=1             c+=1
55    

Legend:
Removed from v.1184  
changed lines
  Added in v.1185

  ViewVC Help
Powered by ViewVC 1.1.26