NeuroDiffGym / neurodiffeq

A library for solving differential equations using neural networks based on PyTorch, used by multiple research groups around the world, including at Harvard IACS.
http://pypi.org/project/neurodiffeq/
MIT License
699 stars 89 forks source link

Rewrite unit tests #96

Closed shuheng-liu closed 3 years ago

shuheng-liu commented 3 years ago
  1. use pytest.fixture instead of module-level variables
  2. wrap warnings with pytest.warns