bleykauf / aisim

Simulations for light-pulse atom interferometry
GNU General Public License v3.0
8 stars 5 forks source link

Tests for aisim's modules #40

Closed savowe closed 4 years ago

savowe commented 4 years ago

closes #39

coveralls commented 4 years ago

Coverage Status

Coverage increased (+68.2%) to 100.0% when pulling 1ef478dedce3fe7e023897139b3a86aced6946a9 on 39-module_tests into 9016f5f8dba476e01255b9665e631c5548eda37e on master.

bleykauf commented 4 years ago

Just checked what is still missing with: python -m pytest --cov=aisim --cov-report term-missing:

----------- coverage: platform linux, python 3.7.6-final-0 -----------
Name                Stmts   Miss  Cover   Missing
-------------------------------------------------
aisim/__init__.py       8      0   100%
aisim/atoms.py         84      5    94%   134-137, 184, 317
aisim/beam.py          77      0   100%
aisim/convert.py       27      0   100%
aisim/det.py           11      0   100%
aisim/prop.py          47     27    43%   30, 33, 99, 105-149
-------------------------------------------------
TOTAL                 531    184    65%

I am not sure if line 317 in atoms.py is still necessary.

bleykauf commented 4 years ago

Ok, so only lines 134-137, 184, 317 in atoms.py are missing...

savowe commented 4 years ago

you go