2
from template_typedef_cplx2 import *
9
d = make_Identity_double()
12
print d, "is not an instance"
15
s = string.split('%s' % d)[1]
16
if string.find(s, 'ArithUnaryFunction') == -1:
17
print d, "is not an ArithUnaryFunction"
21
e = make_Multiplies_double_double_double_double(d, d)
24
print e, "is not an instance"
27
s = string.split('%s' % e)[1]
28
if string.find(s, 'ArithUnaryFunction') == -1:
29
print e, "is not an ArithUnaryFunction"
38
c = make_Identity_complex()
41
print c, "is not an instance"
44
s = string.split('%s' % c)[1]
45
if string.find(s, 'ArithUnaryFunction') == -1:
46
print c, "is not an ArithUnaryFunction"
50
f = make_Multiplies_complex_complex_complex_complex(c, c)
53
print f, "is not an instance"
56
s = string.split('%s' % f)[1]
57
if string.find(s, 'ArithUnaryFunction') == -1:
58
print f, "is not an ArithUnaryFunction"
66
g = make_Multiplies_double_double_complex_complex(d, c)
69
print g, "is not an instance"
72
s = string.split('%s' % g)[1]
73
if string.find(s, 'ArithUnaryFunction') == -1:
74
print g, "is not an ArithUnaryFunction"
79
h = make_Multiplies_complex_complex_double_double(c, d)
82
print h, "is not an instance"
85
s = string.split('%s' % h)[1]
86
if string.find(s, 'ArithUnaryFunction') == -1:
87
print h, "is not an ArithUnaryFunction"
93
print g, "has not get_value() method"