/[escript]/trunk/pyvisi/test/python/test_pyvisi.py
ViewVC logotype

Diff of /trunk/pyvisi/test/python/test_pyvisi.py

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

revision 836 by gross, Tue Aug 29 02:05:59 2006 UTC revision 837 by jongui, Tue Sep 5 07:23:50 2006 UTC
# Line 1  Line 1 
 # $Id$  
1  """  """
2  Test suite for the pyvisi  Test suite for the pyvisi
   
 @var __author__: name of author  
 @var __copyright__: copyrights  
 @var __license__: licence agreement  
 @var __url__: url entry point on documentation  
 @var __version__: version  
 @var __date__: date of the version  
3  """  """
4    """
 __author__="Lutz Gross, l.gross@uq.edu.au"  
 __copyright__="""  Copyright (c) 2006 by ACcESS MNRF  
                     http://www.access.edu.au  
                 Primary Business: Queensland, Australia"""  
 __license__="""Licensed under the Open Software License version 3.0  
              http://www.opensource.org/licenses/osl-3.0.php"""  
 __url__="http://www.iservo.edu.au/esys/escript"  
 __version__="$Revision$"  
 __date__="$Date$"  
   
5  import unittest  import unittest
6  from pyvisi import *  from pyvisi import *
7    
# Line 27  class Test_pyvisi(unittest.TestCase): Line 9  class Test_pyvisi(unittest.TestCase):
9      def test_camera(self):      def test_camera(self):
10        c=Camera(self.scene)        c=Camera(self.scene)
11        self.failUnless(abs(c.getPosition()[0])==0.,"wrong default camera position")        self.failUnless(abs(c.getPosition()[0])==0.,"wrong default camera position")
12    """

Legend:
Removed from v.836  
changed lines
  Added in v.837

  ViewVC Help
Powered by ViewVC 1.1.26