This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.
Holger Hans Peter Freyther holger at freyther.deOn Thu, Mar 06, 2014 at 06:27:38PM +0100, ☎ wrote:
Dear Max,
> >> I'll add more comments to clarify - in general, I do not see better approach for
> >> serialize/deserialize kind of functions than trying to read/write and compare the
> >> results.
> >
> > Max, what do you want to test?
> >
>
> Commented.
That was not the point. I tried to ask you what you intend to test. E.g.
if you take a look at Jacob's range encoding tests in OpenBSC. There is a
simple list of fixes values that are tested and then some random numbers.
Now I find your testcase very hard to comprehend. This is why I want to
understand the goal first and then propose a more simple/straight forward
approach. But now I did propose something. ;)
You are still having
for (...) but we have for (...) {
{
sorry about that. But we still have some time until Sunday. :)