crc-16
Thomas Heller
theller at python.net
Thu Jan 29 09:59:49 EST 2004
Peter Hansen <peter at engcorp.com> writes:
> eugene wrote:
>>
>> I looked for a crc-16(crc 16) function to use but couln't find one
>> that worked:
>>
>> This one is working ..
>>
>> def crc16(s):
> [snip]
>
>
> Since eugene started the thread, I'll continue it by posting one that we've
> been using.
[code snipped]
Since you didn't post the unit tests, the code seems incomplete.
>From a TDD kind of view, at least. I'm disappointed of you <wink>.
Thomas
More information about the Python-list
mailing list