Skip to content

Commit

Permalink
preparation for v0.4 release and added test for odd number length in …
Browse files Browse the repository at this point in the history
…pseudorandom
  • Loading branch information
jankoslavic committed Jan 7, 2021
1 parent 09d2a5e commit d0208ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyExSi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '0.3'
__version__ = '0.4'
from .signals import *
3 changes: 3 additions & 0 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ def test_data_signals():
results[key], results_ref[key], decimal=5, err_msg=f'Function: {key}'
)

# pseudo random odd number
np.testing.assert_equal(len(es.pseudo_random(N=N+1, rg=rg)), N+1)


if __name__ == "__main__":
test_data_nonstationarity()
Expand Down

0 comments on commit d0208ff

Please sign in to comment.