Ron Jeffries | 9 Feb 2005 19:20
Favicon

Re: Testing Something that is Random


On Wednesday, February 9, 2005, at 10:58:45 AM, William Tanksley, Jr wrote:

>> Yes, I agree that there's little randomness, so not much point
>> starting there.

> I'm not sure if I understand you here, but I *want* to start coding
> where there is no randomness, because I know how to test without
> randomness.

> If I were to follow your example, I might write my blackjack game
> using a mocked (stacked) deck, and then when I finished writing the
> entire rest of the game I might test the interface to the real deck
> using a mocked RNG.

Yes, me too.

Ron Jeffries
www.XProgramming.com
I must create a system, or be enslaved by another man's;
I will not reason and compare; my business is to create. --William Blake

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

<*> To unsubscribe from this group, send an email to:
    testdrivendevelopment-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane