Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

Setup default value for votes_allowed to match the number_elected #312

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Create C# unit test to test various default values

Issue

Link your PR to an issue

Fixes #311

Description

Changed the default for votes_allowed to be the number_elected for n_of_m and 1_of_m election types.

Testing

C# Unit test added to cover the default values