Fri Nov 25 17:44:58 2022 roulette_simulation_test(): Python version: 3.6.9 Test roulette_simulation(). roulette_result_test(): roulette_result() returns results of N spins of a roulette wheel with M = 36/37/38 pockets. M = 36 N = 3600 Value, Frequency [[ 1. 84.] [ 2. 109.] [ 3. 85.] [ 4. 99.] [ 5. 113.] [ 6. 112.] [ 7. 112.] [ 8. 110.] [ 9. 103.] [ 10. 72.] [ 11. 90.] [ 12. 103.] [ 13. 98.] [ 14. 94.] [ 15. 103.] [ 16. 95.] [ 17. 93.] [ 18. 100.] [ 19. 94.] [ 20. 103.] [ 21. 106.] [ 22. 97.] [ 23. 100.] [ 24. 85.] [ 25. 98.] [ 26. 107.] [ 27. 95.] [ 28. 110.] [ 29. 99.] [ 30. 102.] [ 31. 99.] [ 32. 111.] [ 33. 103.] [ 34. 114.] [ 35. 96.] [ 36. 106.]] roulette_value_test(): roulette_value() returns the value of N spins of a roulette wheel with M = 36/37/38 pockets. Here, we bet $10 on red every time. M=36 M=37 M=38 260 -1480 -1240 i4vec_sorted_unique_hist_test(): i4vec_sorted_unique_hist_test() is given a sorted array of integers, and returns the number of unique values, the unique values, and their frequency. The sorted vector [ 0 0 0 0 0 0 0 2 3 5 6 6 6 6 6 8 9 9 9 10 12 12 15 16 18 18 18 18 18 20 20 24 30 30 36 40 40 42 42 45 48 48 50 56 56 63 70 80 90 90] Unique values and frequencies: [[ 0. 7.] [ 2. 1.] [ 3. 1.] [ 5. 1.] [ 6. 5.] [ 8. 1.] [ 9. 3.] [10. 1.] [12. 2.] [15. 1.] [16. 1.] [18. 5.] [20. 2.] [24. 1.] [30. 2.] [36. 1.] [40. 2.] [42. 2.] [45. 1.] [48. 2.] [50. 1.] [56. 2.] [63. 1.] [70. 1.] [80. 1.] [90. 2.]] roulette_simulation_test(): Normal end of execution. Fri Nov 25 17:44:59 2022