Skip to content

Commit

Permalink
improve mask test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Nov 27, 2023
1 parent 0fbd120 commit 8b59f0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional_tests/test_mask.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# from allantools import mask
import allantools
import numpy as np
import pytest # noqa
Expand All @@ -24,6 +23,8 @@ def test_prc_mtie():
def test_eprtc_tdev():
assert np.isclose(allantools.mask.eprtc_tdev(5), 1e-9)
assert np.isclose(allantools.mask.eprtc_tdev(50), .001666665e-9)
assert np.isclose(allantools.mask.eprtc_tdev(100e3), 3.33333e-5*1.0e-9*100e3)
assert np.isclose(allantools.mask.eprtc_tdev(301e3), 10e-9)


def test_eprtc_mtie():
Expand Down

0 comments on commit 8b59f0d

Please sign in to comment.