Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 553 Bytes

File metadata and controls

18 lines (12 loc) · 553 Bytes

Elections kata

Goal

You inherit this code base that is used to compute elections results in different ways.

You goal will be to avoid any potential fraud, and add the following features:

  • Count as null a vote of an elector in another district
  • Make sure nobody can vote twice.

How you can use this kata

We have found this kata useful to:

  • train on refactoring
  • play with TCR (we recommand using this awesome plugin for IntelliJ
  • discuss on tests
  • expriment on several designs