Rembane / lemmingpants

A system to handle the speakerlist on Datateknologsektionens meetings.
Apache License 2.0
6 stars 5 forks source link

A speaker can sneak past a speaking speaker #79

Closed Rembane closed 5 years ago

Rembane commented 6 years ago

To replicate:

  1. Put a speaker a that has spoken two times on this speaker queue onto the speaker queue.
  2. Set the speaker as speaking.
  3. Add a speaker b that hasn't spoken onto the speaker queue.
  4. b will now steal as spot on the queue, this shouldn't happen.
Rembane commented 6 years ago

So, I have a test that verifies that the system has the behaviour above: https://github.com/Rembane/lemmingpants/blob/master/frontend/test/Main.purs#L35