Sign in
android
/
platform
/
external
/
swig
/
6ffc1dbf29ba98c4d8aa71ebc9b484e973fe1030
/
.
/
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
)