CMS-Python-DevOps icon indicating copy to clipboard operation
CMS-Python-DevOps copied to clipboard

Testing stochastic function

Open janash opened this issue 5 years ago • 0 comments

We can include a function which uses a random number and explain how to test that (setting random seed).

This could be in the math module with the current mean function. I propose putting this after the testing section, and perhaps emphasize writing tests before/accompanying code.

In the August 2019 bootcamp, Daniel had the students write a function which calculated pi.

janash avatar Aug 13 '19 17:08 janash