I'm doing the Bingo Card kata. I did use Random class. However, it says "The same number appeared on more than 30 of the 100 cards on the same spot, are the cards random?
Expected: False
But was: True"
Having each square 15 posibilities and 5 places to be, it doesn't seem weird to get the case of sharing the same spot when you test with 100 different ones.
If I did random the numbers, how can I fix this problem? Thanks!
At the end I just made the Random object global and it worked!
I'm doing the Bingo Card kata. I did use Random class. However, it says "The same number appeared on more than 30 of the 100 cards on the same spot, are the cards random?
Expected: False
But was: True"
Having each square 15 posibilities and 5 places to be, it doesn't seem weird to get the case of sharing the same spot when you test with 100 different ones.
If I did random the numbers, how can I fix this problem? Thanks!