/[escript]/trunk/esys2/escript/test/python/newEscriptTests.py
ViewVC logotype

Diff of /trunk/esys2/escript/test/python/newEscriptTests.py

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

revision 148 by jgs, Fri Aug 12 01:45:47 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 3  import unittest Line 3  import unittest
3    
4  import numarray  import numarray
5    
6  from escript.escript import *  from esys.escript import *
7  from finley import finley  from esys import finley
8    
9  class DataTestCase(unittest.TestCase):  class DataTestCase(unittest.TestCase):
10    
# Line 34  class DataTestCase(unittest.TestCase): Line 34  class DataTestCase(unittest.TestCase):
34                
35     def unaryOperationTest(self):     def unaryOperationTest(self):
36        constData=escript.Data([1,2])        constData=escript.Data([1,2])
37        result=escript.sin(constData)        result=sin(constData)
38        print result        print result
39    
40     def dataExpansionTest(self):     def dataExpansionTest(self):

Legend:
Removed from v.148  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26