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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 792 - (hide annotations)
Fri Jul 28 10:37:16 2006 UTC (15 years, 2 months ago) by gross
File MIME type: text/x-python
File size: 876 byte(s)
frame for pyvisi set up
1 gross 792 # $Id$
2     """
3     Test suite for the pyvisi
4    
5     @var __author__: name of author
6     @var __copyright__: copyrights
7     @var __license__: licence agreement
8     @var __url__: url entry point on documentation
9     @var __version__: version
10     @var __date__: date of the version
11     """
12    
13     __author__="Lutz Gross, l.gross@uq.edu.au"
14     __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
15     http://www.access.edu.au
16     Primary Business: Queensland, Australia"""
17     __license__="""Licensed under the Open Software License version 3.0
18     http://www.opensource.org/licenses/osl-3.0.php"""
19     __url__="http://www.iservo.edu.au/esys/escript"
20     __version__="$Revision$"
21     __date__="$Date$"
22    
23     import unittest
24     from pyvisi import *
25    
26     class Test_pyvisi(unittest.TestCase):
27     def test_camera(self):
28     c=Camera()
29     self.failUnless(abs(c.getPosition()[0])=0.,"wrong default camera position")
30    

  ViewVC Help
Powered by ViewVC 1.1.26