diff options
Diffstat (limited to 'test/test_backend.py')
-rw-r--r-- | test/test_backend.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_backend.py b/test/test_backend.py index fedc62f..799ac54 100644 --- a/test/test_backend.py +++ b/test/test_backend.py @@ -222,6 +222,8 @@ def test_empty_backend(): with pytest.raises(NotImplementedError): nx.mean(M) with pytest.raises(NotImplementedError): + nx.median(M) + with pytest.raises(NotImplementedError): nx.std(M) with pytest.raises(NotImplementedError): nx.linspace(0, 1, 50) @@ -519,6 +521,10 @@ def test_func_backends(nx): lst_b.append(nx.to_numpy(A)) lst_name.append('mean') + A = nx.median(Mb) + lst_b.append(nx.to_numpy(A)) + lst_name.append('median') + A = nx.std(Mb) lst_b.append(nx.to_numpy(A)) lst_name.append('std') |