Geant4_10
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
source
environments
g4py
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
Generated on Sat Dec 14 2013 14:32:49 for Geant4_10 by
1.8.5