/trunk/Examples/test-suite/python/li_std_stream_runme.py
Python | 14 lines | 7 code | 7 blank | 0 comment | 1 complexity | 6410a83d96e938c15565bb8184f9b2dc MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- from li_std_stream import *
- a = A()
- o = ostringstream()
- o << a << " " << 2345 << " " << 1.435
- if o.str() != "A class 2345 1.435":
- print "\"%s\"" % (o.str(),)
- raise RuntimeError