Re: set and frozenset unit tests?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: set and frozenset unit tests?

From: Reinhold Birkenfeld <reinhold-birkenfeld-nospam@wolke7.net>
Date: Tue Jul 12 2005 - 09:45:14 CEST

Jacob Page wrote:
> I have released interval-0.2.1 at
> http://members.cox.net/apoco/interval/. IntervalSet and
> FrozenIntervalSet objects are now (as far as I can tell) functionality
> equivalent to set and frozenset objects, except they can contain
> intervals as well as discrete values.
>
> Though I have my own unit tests for verifying this claim, I'd like to
> run my code through actual set and frozenset unit tests. Does any such
> code exist? Is it in pure Python? If so, where can it be obtained?
>
> Oh, and again, I'd really appreciate additional feedback on the module,
> especially related to design, if you've got any. My goal for this
> project is to make the classes built-in-data-type quality.

Look at /usr/lib/python2.x/test/ (on unix platforms).

Reinhold
Received on Thu Sep 29 16:53:42 2005