Files
geant4/environments/g4py/tests/test01/python3/test.py
T
2019-12-06 15:12:28 +01:00

18 lines
401 B
Python
Executable File

#!/usr/bin/python3
# ==================================================================
# 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())