@pytest.mark.parametrize('kwargs', DECISION_TESTS)
def test_decide_votes_invalid(kwargs):
    kwargs = kwargs.copy()
    kwargs['n_valid'] = 0
    assert (Voting.decide_votes(**kwargs) == INVALID)
    kwargs['n_invalid'] -= 1
    assert (Voting.decide_votes(**kwargs) == UNDECIDED)
@pytest.mark.parametrize('kwargs', DECISION_TESTS)
def test_decide_votes_invalid(kwargs):
    kwargs = kwargs.copy()
    kwargs['n_valid'] = 0
    assert (Voting.decide_votes(**kwargs) == INVALID)
    kwargs['n_invalid'] -= 1
    assert (Voting.decide_votes(**kwargs) == UNDECIDED)