bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile hashlib.c for testing?


From: Chet Ramey
Subject: Re: How to compile hashlib.c for testing?
Date: Fri, 28 Dec 2018 19:50:44 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 12/27/18 6:58 PM, Peng Yu wrote:

> Since the main() function is already there, why there is not already
> an easy way to compile it? How do you do unit-testing then for the
> code?

That code hasn't really changed in almost twenty years. All the testing
was done long ago.

(I just changed it recently to add comments and modify the FNV-1 offset,
but that doesn't change the functionality.)

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]