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