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