I finished implementing the remaining sprite test methods that had names starting with todo_. There are still some sprite features that are not tested, such as support for old-style sprites, but I consider those features unimportant.
Link:
Going forward, my intent is to fix AbstractGroup.has and to optimize a few other methods that are called frequently. Does anyone have comments or criticism?
Jason
From: René Dudfield <renesd@xxxxxxxxx>
To: pygame-users@xxxxxxxx
Sent: Mon, February 15, 2010 12:48:15 AM
Subject: Re: [pygame] A unit test added to sprite_test
Hi Jason,
gave it a quick look... and that looks good.
Committed revision 2741. Thanks.
cheers,
On Mon, Feb 15, 2010 at 2:39 AM, Jason M. Marshall
<jmm0@xxxxxxxxx> wrote:
I took on one of the to-do items in pygame.test.sprite_test. I added unit testing for pygame.sprite.spritecollideany. Am I doing it right? (See attachment.)
Thanks,
Jason