Files
geant4/environments/g4py/tests/test09/test.py
T
2016-06-09 14:44:26 +02:00

23 lines
378 B
Python
Executable File

#!/usr/bin/python
# ==================================================================
# python script for Geant4Py test
#
#
# ==================================================================
import test09
a= test09.AClass(10)
b= test09.AClass(20)
print "*** (a, b)=", a, b
c= a+b
print "*** a+b=", c
a+=b
print "*** a & b are merged, a=", a
print "*** a==b ?", (a==b)