Sign in
android
/
platform
/
external
/
swig
/
d0f0f90be16c2ac553b5fa08512045273135147a
/
.
/
Examples
/
test-suite
/
python
/
li_std_stream_runme.py
blob: a4526f07b7435540f21714596d7e64b4dd8fbfa9 [
file
] [
log
] [
blame
]
from
li_std_stream
import
*
a
=
A
()
o
=
ostringstream
()
o
<<
a
<<
" "
<<
2345
<<
" "
<<
1.435
if
o
.
str
()
!=
"A class 2345 1.435"
:
raise
RuntimeError
(
"str failed: \"%s\""
.
format
(
o
.
str
()))