Skip to content

Commit d0208ff

Browse files
committed
preparation for v0.4 release and added test for odd number length in pseudorandom
1 parent 09d2a5e commit d0208ff

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyExSi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version__ = '0.3'
1+
__version__ = '0.4'
22
from .signals import *

tests/test_basic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ def test_data_signals():
177177
results[key], results_ref[key], decimal=5, err_msg=f'Function: {key}'
178178
)
179179

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

181184
if __name__ == "__main__":
182185
test_data_nonstationarity()

0 commit comments

Comments
 (0)