blob: fb2c81e4545428378a5c1a39ebdc9e6e0eb82b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|