mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
tests: trace N=1 exception tested.
This commit is contained in:
parent
9bf4a9f20d
commit
7d2f8adf94
1 changed files with 4 additions and 0 deletions
|
@ -668,6 +668,10 @@ def test_matrix_trace():
|
||||||
assert el == 0
|
assert el == 0
|
||||||
|
|
||||||
|
|
||||||
|
with pytest.raises(ValueError):
|
||||||
|
corr.item(0, 0).trace()
|
||||||
|
|
||||||
|
|
||||||
def test_corr_roll():
|
def test_corr_roll():
|
||||||
T = 4
|
T = 4
|
||||||
rn = lambda : np.random.normal(0.5, 0.1)
|
rn = lambda : np.random.normal(0.5, 0.1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue