mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
additional test for irregular obs added
This commit is contained in:
parent
c229dde124
commit
686e85ec3f
1 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,10 @@ def test_irregular_error_propagation():
|
|||
assert regular_obs == (regular_obs / irregular_obs) * irregular_obs
|
||||
assert regular_obs == (regular_obs + irregular_obs) - irregular_obs
|
||||
|
||||
irregular_obs = pe.Obs([np.random.rand(500)], ['t'], idl=[np.arange(1, 1000, 2)])
|
||||
assert regular_obs == (regular_obs / irregular_obs) * irregular_obs
|
||||
assert regular_obs == (regular_obs + irregular_obs) - irregular_obs
|
||||
|
||||
irregular_obs = pe.Obs([np.random.rand(6)], ['t'], idl=[[4, 18, 27, 29, 57, 80]])
|
||||
assert regular_obs == (regular_obs / irregular_obs) * irregular_obs
|
||||
assert regular_obs == (regular_obs + irregular_obs) - irregular_obs
|
||||
|
|
Loading…
Add table
Reference in a new issue