projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
octave
/
li_factory_runme.m
1
li_factory
2
3
circle = Geometry_create(Geometry.CIRCLE);
4
r = circle.radius();
5
if (r != 1.5)
6
error
7
endif
8
9
point = Geometry_create(Geometry.POINT);
10
w = point.width();
11
if (w != 1.0)
12
error
13
endif