/[escript]/branches/domexper/escript/test/python/test_objects.py
ViewVC logotype

Diff of /branches/domexper/escript/test/python/test_objects.py

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

revision 3233 by jfenwick, Fri Aug 27 05:26:25 2010 UTC revision 3234 by jfenwick, Mon Oct 4 01:46:30 2010 UTC
# Line 179  class Test_saveCSV(unittest.TestCase): Line 179  class Test_saveCSV(unittest.TestCase):
179      line=f.readline()      line=f.readline()
180      self.failUnless(line=='U/0|U/1|V\n')      self.failUnless(line=='U/0|U/1|V\n')
181      line=f.readline()      line=f.readline()
     line_expected=[0.25, 0., 0.25]  
182      line_got=[float(elt) for elt in line.split('|')]      line_got=[float(elt) for elt in line.split('|')]
183      self.failUnless(line_expected==line_got)      self.failUnless(self.line_expected==line_got)
184      linecount=1      linecount=1
185      while line!='':      while line!='':
186          linecount+=1          linecount+=1

Legend:
Removed from v.3233  
changed lines
  Added in v.3234

  ViewVC Help
Powered by ViewVC 1.1.26