asiftasleem / nbuilder

Automatically exported from code.google.com/p/nbuilder
0 stars 0 forks source link

RandomItemPicker bug - will never choose last item in list. #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Declare a small array of items
2. Call the Pick<T>.RandomItemFrom method a large number of times (i.e. 
using CreateListOfSize() with a large number
3. The last item in the list will be picked.

Original issue reported on code.google.com by kevinkuebler on 28 May 2009 at 3:55

GoogleCodeExporter commented 8 years ago
This issue was closed by r41.

Original comment by kevinkuebler on 28 May 2009 at 4:47