Sign in
fuchsia
/
third_party
/
swig
/
refs/heads/upstream/gsoc2008-jezabek
/
.
/
Examples
/
test-suite
/
python
/
li_factory_runme.py
blob: fb2c81e4545428378a5c1a39ebdc9e6e0eb82b2c [
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