Import Geant4 8.1.0 source tree
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/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)
|
||||
|
||||
Reference in New Issue
Block a user