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

24 lines
397 B
Python
Executable File

#!/usr/bin/python
# ==================================================================
# python script for Geant4Py test
#
#
# ==================================================================
import test01
print "importing created module...\n"
a= test01.AClass()
b= test01.AClass(0)
c= test01.AClass(1, 1.)
print " >>a<<",
a.AMethod()
print ">>b<<",
b.AMethod()
print ">>c<<",
c.AMethod()