exercism / cpp

Exercism exercises in C++.
https://exercism.org/tracks/cpp
MIT License
257 stars 211 forks source link

election-day/task_4: prevent collateral changes #708

Closed siebenschlaefer closed 1 year ago

siebenschlaefer commented 1 year ago

Currently many solutions modify not only the result of the winner but also other results in the process.
This fix prevents those changes by adding another test.