MDAnalysis / cookiecutter-mdakit

Cookiecutter for Python packages based on MDAnalysis
MIT License
7 stars 5 forks source link

included test stubs don't show how to test a function #35

Open richardjgowers opened 2 years ago

richardjgowers commented 2 years ago

the included test_PROJECT.py is nice, and shows how to use files inside data/, but doesn't show how to import from the package and test a simple function. I'd include a dummy function instead of canvas which does something like doubling a number(?) then include a (parametrised?) test for this