Tue May 20 22:30:21 2025 roulette_simulation_test(): python version: 3.10.12 numpy version: 1.26.4 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. 108.] [ 2. 78.] [ 3. 92.] [ 4. 85.] [ 5. 93.] [ 6. 110.] [ 7. 90.] [ 8. 106.] [ 9. 93.] [ 10. 103.] [ 11. 101.] [ 12. 101.] [ 13. 93.] [ 14. 102.] [ 15. 86.] [ 16. 85.] [ 17. 103.] [ 18. 117.] [ 19. 108.] [ 20. 82.] [ 21. 106.] [ 22. 108.] [ 23. 95.] [ 24. 109.] [ 25. 105.] [ 26. 100.] [ 27. 97.] [ 28. 105.] [ 29. 101.] [ 30. 109.] [ 31. 120.] [ 32. 104.] [ 33. 101.] [ 34. 115.] [ 35. 91.] [ 36. 98.]] 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 -680 -860 -1580 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 0 2 2 3 4 4 4 5 5 6 9 10 12 15 15 20 20 20 20 25 28 30 30 30 36 36 36 40 42 45 45 48 49 54 54 60 60 60 72 81 90 90 100] Unique values and frequencies: [[ 0. 8.] [ 2. 2.] [ 3. 1.] [ 4. 3.] [ 5. 2.] [ 6. 1.] [ 9. 1.] [ 10. 1.] [ 12. 1.] [ 15. 2.] [ 20. 4.] [ 25. 1.] [ 28. 1.] [ 30. 3.] [ 36. 3.] [ 40. 1.] [ 42. 1.] [ 45. 2.] [ 48. 1.] [ 49. 1.] [ 54. 2.] [ 60. 3.] [ 72. 1.] [ 81. 1.] [ 90. 2.] [100. 1.]] roulette_simulation_test(): Normal end of execution. Tue May 20 22:30:21 2025