-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates to 021_cef_cvotes.t (WIP), +3 test cases
- Loading branch information
Showing
5 changed files
with
73 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/perl/prefvote/t/test-inputs/021_cef_cvotes/000-test-metadata.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
--- | ||
boudry-test1.cvotes: | ||
error: "^weight not permitted without weight_allowed flag" | ||
boudry-test2.cvotes: | ||
error: "^weight not permitted without weight_allowed flag" | ||
cef-doc-example1.cvotes: | ||
error: "^weight not permitted without weight_allowed flag" | ||
cef-doc-example2.cvotes: | ||
error: "^weight not permitted without weight_allowed flag" | ||
cef-doc-invalid3.cvotes: | ||
error: "^Syntax error at position 12, expected EMPTY_RANKING INT WORD" |
6 changes: 6 additions & 0 deletions
6
src/perl/prefvote/t/test-inputs/021_cef_cvotes/boudry-test1-wa.cvotes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# imported from https://github.com/julien-boudry/Condorcet/Tests/src/Tools/Converters/CondorcetElectionFormatData/ | ||
#/Candidates:A;B;C | ||
#/Implicit Ranking: true | ||
#/Weight Allowed: true | ||
|
||
A>B ^2 |
8 changes: 8 additions & 0 deletions
8
src/perl/prefvote/t/test-inputs/021_cef_cvotes/boudry-test2-wa.cvotes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# imported from https://github.com/julien-boudry/Condorcet/Tests/src/Tools/Converters/CondorcetElectionFormatData/ | ||
#/Candidates:A;B;C | ||
#/Implicit Ranking: false | ||
#/Weight Allowed: true | ||
#Number of Seats: 42 | ||
|
||
B>A ^2 | ||
B>C |
4 changes: 4 additions & 0 deletions
4
src/perl/prefvote/t/test-inputs/021_cef_cvotes/cef-doc-invalid3.cvotes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# My beautiful election | ||
#/Candidates: Candidate A;Candidate B;Candidate C | ||
|
||
Candidate A < Candidate B > Candidate C |