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

28 lines
523 B
Python
Executable File

#!/usr/bin/python
# ==================================================================
# python script for Geant4Py test
#
#
# ==================================================================
import test02
print "importing created module...\n"
a= test02.AClass()
b= test02.BClass()
print ">>a<<",
a.AMethod()
print ""
print ">>b<<",
b.AMethod()
print ""
print "%%% a.VMethod(a)=", a.VMethod(a)
print "%%% a.VMethod(b)=", a.VMethod(b)
print "%%% b.VMethod(a)=", b.VMethod(a)
print "%%% b.VMethod(b)=", b.VMethod(b)