j2kun / riemann-divisor-sum

Code for the series "Searching for Riemann Hypothesis Counterexamples"
https://jeremykun.com/2020/09/11/searching-for-rh-counterexamples-setting-up-pytest/
21 stars 2 forks source link

Add coverage tooling #25

Closed j2kun closed 3 years ago

j2kun commented 3 years ago

This PR adds coverage tooling, with some caveats.

First, to get coverage on @jit functions, we have to disable the jit for the test run. This seems OK, since the correctness should not depend on whether it's been jitted, but it will make tests slower and I had to accommodate by reducing the runtime of some tests that were taking too long.