Geant4
10.02.p03
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
Geant4
Geant4.10.02.p03
environments
g4py
tests
test09
test.py
Generated by
1.8.13