Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tests/test09/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 test09
8 
9 
10 a= test09.AClass(10)
11 b= test09.AClass(20)
12 
13 print "*** (a, b)=", a, b
14 
15 c= a+b
16 print "*** a+b=", c
17 
18 a+=b
19 print "*** a & b are merged, a=", a
20 
21 print "*** a==b ?", (a==b)
22