コード例 #1
0
def test_function_random_fill_sparse_empty_array():
    with pytest.raises(ValueError):
        tobetested.function_random_fill_sparse(np.array([]), 8)
コード例 #2
0
def test_function_random_fill_sparse_no_np():
    with pytest.raises(ValueError):
        tobetested.function_random_fill_sparse(12, 9)