Hi
I was justing thinking of TDD a game of black jack and
was wondering how would you test the 'random-ness' of
a shuffle?
From a clean deck of cards any 'change' in order could
be considered a shuffle. But simply moving a the
order of a few cards would not be a good shuffle.
Any thoughts or ideas?
Cheers
Shane
--
Life is pretty simple: You do some stuff. Most fails.
Some works. You do more of what works. If it works
big, others quickly copy it. Then you do something
else. The trick is the doing something else.
Leonardo da Vinci
__________________________________
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com