Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
trunk
/
Examples
/
contract
/
simple_c
/
runme1.py
blob: abd8df62fccff148e984207fe443eb82a59d3469 [
file
] [
log
] [
blame
]
import
example
# Call the Circle() function correctly
x
=
1
;
y
=
1
;
r
=
3
;
c
=
example
.
Circle
(
x
,
y
,
r
)
# test post-assertion
x
=
1
;
y
=
1
;
r
=
2
;
c
=
example
.
Circle
(
x
,
y
,
r
)
print
"The return value of Circle(%d, %d, %d) is %d"
%
(
x
,
y
,
r
,
c
)