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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 822 - (show annotations)
Tue Aug 29 01:39:27 2006 UTC (14 years, 2 months ago) by jongui
File MIME type: text/x-python
File size: 886 byte(s)
Added:
trunk/pyvisi/py_src/driver.py

Modified:
trunk/pyvisi/py_src/datacollector.py
trunk/pyvisi/py_src/map.py
trunk/pyvisi/py_src/scene.py


1 # $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(self.scene)
29 self.failUnless(abs(c.getPosition()[0])=0.,"wrong default camera position")
30

  ViewVC Help
Powered by ViewVC 1.1.26