/[escript]/trunk/escript/test/python/test_objects.py
ViewVC logotype

Diff of /trunk/escript/test/python/test_objects.py

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

revision 3389 by jfenwick, Fri Nov 19 05:59:46 2010 UTC revision 3390 by jfenwick, Thu Dec 2 00:34:37 2010 UTC
# Line 248  class Test_Domain(unittest.TestCase): Line 248  class Test_Domain(unittest.TestCase):
248         for i in self.boundary_tag_list:         for i in self.boundary_tag_list:
249             self.failUnless(i in tags, "tag %s is missing."%i)             self.failUnless(i in tags, "tag %s is missing."%i)
250    
251       def test_RandomData(self):
252            fs=Function(self.domain)    # The choice of functionspace is arbitrary
253        dat=RandomData((2,2,2,2),fs,8)  # Choice of seed is arbitrary
254        self.failUnless(Lsup(dat-1)<1.0001)
255    
256     def test_Factories(self):     def test_Factories(self):
257      fs=Function(self.domain)    # The choice of functionspace is arbitrary      fs=Function(self.domain)    # The choice of functionspace is arbitrary
258      dime=self.domain.getDim()      dime=self.domain.getDim()

Legend:
Removed from v.3389  
changed lines
  Added in v.3390

  ViewVC Help
Powered by ViewVC 1.1.26