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

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

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

revision 2798 by jfenwick, Tue Sep 8 04:26:30 2009 UTC revision 2799 by jfenwick, Thu Dec 3 01:35:08 2009 UTC
# Line 27  from esys.finley import Rectangle Line 27  from esys.finley import Rectangle
27  import sys  import sys
28  import os  import os
29  from test_objects import Test_Dump, Test_SetDataPointValue, Test_saveCSV, Test_TableInterpolation  from test_objects import Test_Dump, Test_SetDataPointValue, Test_saveCSV, Test_TableInterpolation
30  from test_objects import Test_Domain, Test_GlobalMinMax  from test_objects import Test_Domain, Test_GlobalMinMax, Test_Lazy
31    
32  from test_shared import Test_Shared  from test_shared import Test_Shared
33    
# Line 103  class Test_DomainOnFinley(Test_Domain): Line 103  class Test_DomainOnFinley(Test_Domain):
103         self.failUnless(len(tags)==len(ref_tags), "tags list has wrong length.")         self.failUnless(len(tags)==len(ref_tags), "tags list has wrong length.")
104         for i in ref_tags: self.failUnless(i in tags,"tag %s is missing."%i)         for i in ref_tags: self.failUnless(i in tags,"tag %s is missing."%i)
105    
106  class Test_DataOpsOnFinley(Test_Dump, Test_SetDataPointValue, Test_GlobalMinMax):  class Test_DataOpsOnFinley(Test_Dump, Test_SetDataPointValue, Test_GlobalMinMax, Test_Lazy):
107     def setUp(self):     def setUp(self):
108         self.domain =Rectangle(NE,NE+1,2)         self.domain =Rectangle(NE,NE+1,2)
109         self.domain_with_different_number_of_samples =Rectangle(2*NE,NE+1,2)         self.domain_with_different_number_of_samples =Rectangle(2*NE,NE+1,2)
110         self.domain_with_different_number_of_data_points_per_sample =Rectangle(2*NE,NE+1,2,integrationOrder=2)         self.domain_with_different_number_of_data_points_per_sample =Rectangle(2*NE,NE+1,2,integrationOrder=2)
111         self.domain_with_different_sample_ordering =Rectangle(NE,NE+1,2, optimize=True)         self.domain_with_different_sample_ordering =Rectangle(NE,NE+1,2, optimize=True)
112         self.filename_base=FINLEY_WORKDIR         self.filename_base=FINLEY_WORKDIR
113           self.mainfs=Function(self.domain)
114           self.otherfs=Solution(self.domain)
115    
116     def tearDown(self):     def tearDown(self):
117         del self.domain         del self.domain
118         del self.domain_with_different_number_of_samples         del self.domain_with_different_number_of_samples
119         del self.domain_with_different_number_of_data_points_per_sample         del self.domain_with_different_number_of_data_points_per_sample
120         del self.domain_with_different_sample_ordering         del self.domain_with_different_sample_ordering
121           del self.mainfs
122           del self.otherfs
123                
124    
125    

Legend:
Removed from v.2798  
changed lines
  Added in v.2799

  ViewVC Help
Powered by ViewVC 1.1.26