rkoudsi / dice_simulator

GNU General Public License v3.0
0 stars 0 forks source link

Add tests for a dice roll #6

Open rkoudsi opened 2 years ago

rkoudsi commented 2 years ago

Add a test for the roll function:

Once you can display the output of roll, create some automated testing:

rkoudsi commented 2 years ago

This issue cannot be started until #5 is complete

emarkworth commented 2 years ago

Im in between step five and six, bear with me

emarkworth commented 2 years ago

also i need some clarification; when you say call roll 1000 times does that mean get the sum of that or make it produce 1000 values of roll?

rkoudsi commented 2 years ago

also i need some clarification; when you say call roll 1000 times does that mean get the sum of that or make it produce 1000 values of roll?

You'll be calling it 1000 times and each time is independent. No summation. Basically you want to test your function 1000 times separately.

rkoudsi commented 2 years ago

Im in between step five and six, bear with me

Totally bearing (rawr), but do make sure to completely finish 5 before starting 6. Otherwise it may make it harder for you if the git isn't fully clean.