/[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 1177 by gross, Thu May 17 00:30:15 2007 UTC revision 1178 by gross, Wed May 30 05:03:17 2007 UTC
# Line 35  class Test_VisualizationInterface(unitte Line 35  class Test_VisualizationInterface(unitte
35             line=out_string[c].strip()             line=out_string[c].strip()
36         if os.name == "nt":         if os.name == "nt":
37             line=line.replace("e+00","e+0").replace("e-00","e-0")             line=line.replace("e+00","e+0").replace("e-00","e-0")
38         line.replace("e-00","e+00")         line=line.replace("e-00","e+00")
39             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()))
40             c+=1             c+=1
41    
# Line 48  class Test_VisualizationInterface(unitte Line 48  class Test_VisualizationInterface(unitte
48         line=out_string[c].strip()         line=out_string[c].strip()
49         if os.name == "nt":         if os.name == "nt":
50             line=line.replace("e+00","e+0").replace("e-00","e-0")             line=line.replace("e+00","e+0").replace("e-00","e-0")
51         line.replace("e-00","e+00")         line=line.replace("e-00","e+00")
52             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()))
53             c+=1             c+=1
54    

Legend:
Removed from v.1177  
changed lines
  Added in v.1178

  ViewVC Help
Powered by ViewVC 1.1.26