/[escript]/trunk/pyvisi_old/test/python/opendx/test_plot.py
ViewVC logotype

Contents of /trunk/pyvisi_old/test/python/opendx/test_plot.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 786 - (show annotations)
Tue Jul 25 04:58:05 2006 UTC (15 years, 4 months ago) by gross
File MIME type: text/x-python
File size: 2291 byte(s)
switched off pyvisi
1 """
2 Class and functions for testing the Plot class
3
4 @var __author__: name of author
5 @var __license__: licence agreement
6 @var __copyright__: copyrights
7 @var __url__: url entry point on documentation
8 @var __version__: version
9 @var __date__: date of the version
10 """
11
12 __copyright__=""" Copyright (c) 2006 by ACcESS MNRF
13 http://www.access.edu.au
14 Primary Business: Queensland, Australia"""
15 __license__="""Licensed under the Open Software License version 3.0
16 http://www.opensource.org/licenses/osl-3.0.php"""
17 __author__="Paul Cochrane"
18 __url__="http://www.iservo.edu.au/esys"
19 __version__="$Revision$"
20 __date__="$Date$"
21
22
23 import unittest
24 import sys,os,string
25 here = os.getcwd() + '/../../'
26 sys.path.append(here)
27 # this should import all of the pyvisi stuff needed
28 from pyvisi import *
29 # this should import the renderer specific stuff
30 from pyvisi.renderers.opendx import *
31
32
33 class TestPlot(unittest.TestCase):
34 """
35 The main test class
36 """
37
38 def testFunction(self):
39 """
40 A test function
41 """
42 self.assertEqual()
43 self.assertRaises()
44 self.assert_()
45
46 if __name__ == '__main__':
47 unittest.main()
48
49
50 """
51 Class and functions for testing the ArrowPlot class
52 """
53
54 class TestArrowPlot(unittest.TestCase):
55 """
56 The main test class
57 """
58
59 def testFunction(self):
60 """
61 A test function
62 """
63 self.assertEqual()
64 self.assertRaises()
65 self.assert_()
66
67 if __name__ == '__main__':
68 unittest.main()
69
70
71 """
72 Class and functions for testing the ContourPlot class
73 """
74
75 class TestContourPlot(unittest.TestCase):
76 """
77 The main test class
78 """
79
80 def testFunction(self):
81 """
82 A test function
83 """
84 self.assertEqual()
85 self.assertRaises()
86 self.assert_()
87
88 if __name__ == '__main__':
89 unittest.main()
90
91
92 """
93 Class and functions for testing the LinePlot class
94 """
95
96 class TestLinePlot(unittest.TestCase):
97 """
98 The main test class
99 """
100
101 def testFunction(self):
102 """
103 A test function
104 """
105 self.assertEqual()
106 self.assertRaises()
107 self.assert_()
108
109 if __name__ == '__main__':
110 unittest.main()
111
112
113 # vim: expandtab shiftwidth=4:

  ViewVC Help
Powered by ViewVC 1.1.26