diff --git a/docs/usage.rst b/docs/usage.rst index 73b00ea..f186d55 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -30,4 +30,6 @@ to estimate Pi with a Monte Carlo method. ) return 4.0 * sum(inside_samples) / iterations +>>> random.seed(1) >>> pi(1000) +3.112 diff --git a/pyproject.toml b/pyproject.toml index 23d0b68..573cbfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,6 @@ addopts = ''' --cov-fail-under=100 --cov-report term-missing --cov-report xml - --ignore=docs/ '''