Sign in
android
/
platform
/
external
/
swig
/
d0f0f90be16c2ac553b5fa08512045273135147a
/
.
/
Examples
/
test-suite
/
python
/
li_factory_runme.py
blob: ce0e3caef698fb69bcd585a8ddc9362a3f9d1d7b [
file
] [
log
] [
blame
]
from
li_factory
import
*
circle
=
Geometry
.
create
(
Geometry
.
CIRCLE
)
r
=
circle
.
radius
()
if
(
r
!=
1.5
):
raise
RuntimeError
point
=
Geometry
.
create
(
Geometry
.
POINT
)
w
=
point
.
width
()
if
(
w
!=
1.0
):
raise
RuntimeError