]> git.cworth.org Git - empires-server/commit
Add new failing test case: Non-player can terminate judging
authorCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 00:49:00 +0000 (17:49 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 28 Jun 2020 00:49:28 +0000 (17:49 -0700)
commitd77b8410640b3b6279999a064945c5c8c1d54a05
treebe56f3f82498e0f9f13e9c4d96fe1970f5d9d3da
parent3dae3833cb5247943e27649a9b16639c2187c8c5
Add new failing test case: Non-player can terminate judging

The code that is intending to check whether all answering players have
completed judging is currently broken. It is only checking whether the
number of players that have judged is as large as the number of
players that have answered.

This is the wrong logic in the case where a player who didn't answer
joins the game late and submits judging results, which is exactly what
we do in the new test case here.

This test case currently fails, so a fix of the bug described above
will cause it to start passing.
test