[PATCH] Add generic LE/BE load/store uint type convertors and use them in msgb
☎
Max.Suraev at fairwaves.ru
Fri Mar 7 11:34:37 CET 2014
07.03.2014 08:44, Holger Hans Peter Freyther пишет:
> 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. ;)
>
I don't get what exactly you want?
Right now I generate random data and serialize/deserialize it: test 1 verifies that
data is serialized properly, tests 2 and 3 verify that serialize-deserialize cycle
does not change the data.
You want to test some specific constants instead? Please, feel free add your favorite
numbers in there :)
If it's unclear how to do that - let me know and I'll update documentation.
--
best regards,
Max, http://fairwaves.ru
More information about the baseband-devel
mailing list