mjo22 / cryojax

Cryo electron microscopy image simulation and analysis built on JAX.
https://mjo22.github.io/cryojax/
GNU Lesser General Public License v2.1
29 stars 9 forks source link

Unit testing refactor #191

Open mjo22 opened 6 months ago

mjo22 commented 6 months ago

Unit testing needs a bit of an overhaul---things are pretty disorganized. We should find a package that has a good model for unit testing in JAX.

This should be done simultaneously with #153, in adding code coverage. I would also like to add runtime type checking to the tests as a pytest hook. See here: https://docs.kidger.site/jaxtyping/api/runtime-type-checking/#pytest-hook