def test_function_random_fill_sparse_empty_array(): with pytest.raises(ValueError): tobetested.function_random_fill_sparse(np.array([]), 8)
def test_function_random_fill_sparse_no_np(): with pytest.raises(ValueError): tobetested.function_random_fill_sparse(12, 9)