Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tests/test02/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 test02
8 
9 print "importing created module...\n"
10 
11 a= test02.AClass()
12 b= test02.BClass()
13 
14 print ">>a<<",
15 a.AMethod()
16 print ""
17 
18 print ">>b<<",
19 b.AMethod()
20 print ""
21 
22 print "%%% a.VMethod(a)=", a.VMethod(a)
23 print "%%% a.VMethod(b)=", a.VMethod(b)
24 
25 print "%%% b.VMethod(a)=", b.VMethod(a)
26 print "%%% b.VMethod(b)=", b.VMethod(b)
27