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

tests: Add more meaningful tests #21

Open
larsesser opened this issue Jun 13, 2021 · 0 comments
Open

tests: Add more meaningful tests #21

larsesser opened this issue Jun 13, 2021 · 0 comments

Comments

@larsesser
Copy link
Member

From the discussion of PR #19. It would be nice to have some minimal test cases exercising the interesting spots of the Schulze method.

An interesting test case that should be added is the following:

A>B>C
A>B>C
B>C>A
C>A>B

as it excercises the strongest path finding. 'A' and 'C' are indifferent to the voters, but the Schulze method returns 'A>B>C'.

PS: If we double these votes it's even more interesting as then 'C>A' pairwise, but the result is still 'A>B>C'.
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