Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tests/test01/test.py
Go to the documentation of this file.
1 #!/usr/bin/python
2 # ==================================================================
3 # python script for Geant4Py test
4 #
5 #
6 # ==================================================================
7 import test01
8 
9 print "importing created module...\n"
10 
11 a= test01.AClass()
12 b= test01.AClass(0)
13 c= test01.AClass(1, 1.)
14 
15 print " >>a<<",
16 a.AMethod()
17 
18 print ">>b<<",
19 b.AMethod()
20 
21 print ">>c<<",
22 c.AMethod()
23