ABIF: Difference between revisions

121 bytes added ,  3 years ago
Cleaned up formatting, and finished linking to current test cases. This will be an informative list, pointing to the normative copy on GitHub.
(Moving the test cases to GitHub)
(Cleaned up formatting, and finished linking to current test cases. This will be an informative list, pointing to the normative copy on GitHub.)
Line 7:
The normative set of test cases are on GitHub, and we'll be expanding them there. Among the things we want to test for:
 
* Case #1: Unordered scores on a bundle line (Test case #1).<ref>https://github.com/electorama/abif/blob/main/testfiles/test001.abif</ref>
*Case #2: Unscored (but ranked) candidates delimited only by ">" and "=" (Test case #2).<ref>https://github.com/electorama/abif/blob/main/testfiles/test002.abif</ref>
*Case #3: Ranked ''and'' rated candidates (Test case 3).<ref>https://github.com/electorama/abif/blob/main/testfiles/test003.abif</ref>
*Case #4: Bracketed, inlined candidate tokens with many "high UTF-8" characters, like "ñ", "í", "á", "蘇","業" (Test case 4).<ref>https://github.com/electorama/abif/blob/main/testfiles/test004.abif</ref>
*Case #5: Declared candidate tokens(Test, casewith 5)unordered scores.<ref>https://github.com/electorama/abif/blob/main/testfiles/test005.abif</ref>
*Case #6: Declared candidate tokens, withranked unorderedand scores (Test case 6)scored.<ref>https://github.com/electorama/abif/blob/main/testfiles/test006.abif</ref>
*Case #7: Bracketed candidate tokens (declared), ranked with no score.<ref>https://github.com/electorama/abif/blob/main/testfiles/test007.abif</ref>
* Test case 6
**Case #8: Bracketed candidate tokens (declaredmixed)., ranked Rankedwith no score and scoredmost extra whitespace removed.<ref>https://github.com/electorama/abif/blob/main/testfiles/test008.abif</ref>
**Case #9: Asterisk-delimited multiplier, (suggested by Jan Šimbera in May 2020.<ref>https: //github.com/electorama/abif/blob/main/testfiles/test009.abif</ref><ref>http://lists.electorama.com/pipermail/election-methods-electorama.com/2021-June/002793.html</ref>)
* Test case 7
== Footnotes ==
** Bracketed candidate tokens (declared). Ranked with no score.
<references />
* Test case 8
** Bracketed candidate tokens (mixed). Ranked with no score. Most extra whitespace removed.
* Test case 9
** Asterisk-delimited multiplier (suggested by Jan Šimbera in May 2020: <ref>http://lists.electorama.com/pipermail/election-methods-electorama.com/2021-June/002793.html</ref>)
 
 
== Footnotes ==
<references/>