/[escript]/branches/intelc_win32/escript/test/python/test_util_spatial_functions.py
ViewVC logotype

Diff of /branches/intelc_win32/escript/test/python/test_util_spatial_functions.py

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

trunk/escript/py_src/test_util_spatial_functions.py revision 614 by elspeth, Wed Mar 22 01:37:07 2006 UTC branches/intelc_win32/escript/test/python/test_util_spatial_functions.py revision 752 by woo409, Mon Jun 26 02:25:41 2006 UTC
# Line 7  it is assumed that the domain is the usi Line 7  it is assumed that the domain is the usi
7  not all these test will run for all domains. check the doc string for the assumptions of a particular test  not all these test will run for all domains. check the doc string for the assumptions of a particular test
8    
9  @var __author__: name of author  @var __author__: name of author
10    @var __copyright__: copyrights
11  @var __license__: licence agreement  @var __license__: licence agreement
12  @var __url__: url entry point on documentation  @var __url__: url entry point on documentation
13  @var __version__: version  @var __version__: version
# Line 109  class Test_Util_SpatialFunctions(unittes Line 110  class Test_Util_SpatialFunctions(unittes
110       res=f.getNormal()       res=f.getNormal()
111       self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.")       self.failUnlessEqual(res.getShape(),(dim,),"wrong shape of result.")
112       self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.")       self.failUnlessEqual(res.getFunctionSpace(),f,"wrong functionspace of result.")
113         # FIXME: DEBUGGING LINE
114         print '\nReference\n'
115         print ref
116         print '\nResult\n'
117         print res
118         # FIXME: END DEBUGGING
119       self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result")       self.failUnless(Lsup(ref-res)<=self.RES_TOL,"wrong result")
120     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
121     def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self):     def test_integrate_onFunction_fromData_ContinuousFunction_rank0(self):

Legend:
Removed from v.614  
changed lines
  Added in v.752

  ViewVC Help
Powered by ViewVC 1.1.26