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

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

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

trunk/escript/test/python/test_util_binary_no_tagged_data.py revision 785 by gross, Tue Jul 25 03:48:10 2006 UTC temp_trunk_copy/escript/test/python/test_util_binary_no_tagged_data.py revision 1384 by phornby, Fri Jan 11 02:29:38 2008 UTC
# Line 1  Line 1 
1  # $Id:$  #
2    # $Id$
3    #
4    #######################################################
5    #
6    #           Copyright 2003-2007 by ACceSS MNRF
7    #       Copyright 2007 by University of Queensland
8    #
9    #                http://esscc.uq.edu.au
10    #        Primary Business: Queensland, Australia
11    #  Licensed under the Open Software License version 3.0
12    #     http://www.opensource.org/licenses/osl-3.0.php
13    #
14    #######################################################
15    #
16    
17  """  """
18  test for unary operations without tagged data  test for unary operations without tagged data
19    
# Line 305  class Test_util_binary_no_tagged_data(Te Line 320  class Test_util_binary_no_tagged_data(Te
320        self.failUnlessEqual(res.shape,(2,),"wrong shape of result.")        self.failUnlessEqual(res.shape,(2,),"wrong shape of result.")
321        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")        self.failUnless(Lsup(res-ref)<=self.RES_TOL*Lsup(ref),"wrong result")
322     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++     #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
323     def test_add_array_rank0_array_rank1(self):     def test_AAAadd_array_rank0_array_rank1(self):
324        arg0=numarray.array(-4.19219670267)        arg0=numarray.array(-4.19219670267)
325        arg1=numarray.array([-1.4956124890848423, -1.9457489768254597])        arg1=numarray.array([-1.4956124890848423, -1.9457489768254597])
326        res=add(arg0,arg1)        res=add(arg0,arg1)

Legend:
Removed from v.785  
changed lines
  Added in v.1384

  ViewVC Help
Powered by ViewVC 1.1.26