Skip to content
Snippets Groups Projects
Commit 3ae3253f authored by Michael Maier's avatar Michael Maier
Browse files

test

parent e388f3d6
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import pytest
from zerosumset import zerosumset
test_cases = [([1, 2, -3],[0])]
test_cases = [-7, -3, -2, 9000, 5, 8]
@pytest.mark.parametrize("elems", test_cases)
def test_zerosumset(elems):
......
......@@ -16,7 +16,7 @@ def zerosumset(elems):
>>> zerosumset.zerosumset(3, 1, 10, -4)
[3, 1, -4]
'''
elems = [-7, -3, -2, 9000, 5, 8]
#elems = [-7, -3, -2, 9000, 5, 8]
n = len(elems)
# Symbolic variables: is_in[i] is 1, if element i is in the zero sum subset, 0 otherwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment