27 Jun
2008
27 Jun
'08
8:57 p.m.
Look at how the serialization test suite works. libs/serialization/test/... Robert Ramey Daryle Walker wrote:
Do I just serialize to a memory buffer, then serialize from the same buffer, and then compare the source and destination objects?
that's mostly what we do. Should
I use a text format (plain and/or XML) with a string-stream source/ sink so I can check by reading? Should I make up a string of a text archive and have my routine try reading it?
That would be more work. Robert Ramey