Sign in
fuchsia
/
third_party
/
swig
/
2824b0cbb66e715490e1ef13250bd675d87b32d9
/
.
/
trunk
/
Examples
/
test-suite
/
python
/
grouping_runme.py
blob: 13f8c8c92fc288ccea0025a280d86a7ae6369c80 [
file
] [
log
] [
blame
]
import
grouping
x
=
grouping
.
test1
(
42
)
if
x
!=
42
:
raise
RuntimeError
grouping
.
test2
(
42
)
x
=
grouping
.
do_unary
(
37
,
grouping
.
NEGATE
)
if
x
!=
-
37
:
raise
RuntimeError
grouping
.
cvar
.
test3
=
42