/[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 837 - (show annotations)
Tue Sep 5 07:23:50 2006 UTC (14 years ago) by jongui
File MIME type: text/x-python
File size: 255 byte(s)
added more epydocs and improved the way colors are specified in the driver.


1 """
2 Test suite for the pyvisi
3 """
4 """
5 import unittest
6 from pyvisi import *
7
8 class Test_pyvisi(unittest.TestCase):
9 def test_camera(self):
10 c=Camera(self.scene)
11 self.failUnless(abs(c.getPosition()[0])==0.,"wrong default camera position")
12 """

  ViewVC Help
Powered by ViewVC 1.1.26