Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unit tests #143

Open
6 tasks
Helias opened this issue Nov 4, 2023 · 0 comments
Open
6 tasks

unit tests #143

Helias opened this issue Nov 4, 2023 · 0 comments

Comments

@Helias
Copy link
Member

Helias commented Nov 4, 2023

check in all JSON for all years these logics:

  • if quorum false -> %votanti < 15
  • if quorum true -> %votanti > 15
  • votanti / numero seggi -> voti per seggio
  • every year should have the same CdL name (same for departments)
  • a list should have at least numero eletti = voti totali / voti per seggio (when candidates >= eletti)
  • a list should have at least >= sum of the candidates votes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant