def test_moreWorkWhenNoWorkersAvailable(self):
        self.team.grow(3)
        self.coordinate()
        def something():
            something.times += 1
        something.times = 0
        self.assertEqual(self.team.statistics().idleWorkerCount, 3)
        for i in range(3):
            self.team.do(something)
        # Make progress on the coordinator but do _not_ actually complete the
        # work, yet.
        self.coordinate()
        self.assertEqual(self.team.statistics().idleWorkerCount, 0)
        self.noMoreWorkers = lambda: True
        self.team.do(something)
        self.coordinate()
        self.assertEqual(self.team.statistics().idleWorkerCount, 0)
        self.assertEqual(self.team.statistics().backloggedWorkCount, 1)
        self.performAllOutstandingWork()
        self.assertEqual(self.team.statistics().backloggedWorkCount, 0)
        self.assertEqual(something.times, 4)
Paillier decryption of ciphertext into multiple int64 values.
dataset/ETHPy150Open twisted/twisted/twisted/_threads/test/test_team.py/TeamTests.test_moreWorkWhenNoWorkersAvailable--crossover with--dataset/ETHPy150Open google/encrypted-bigquery-client/src/paillier.py/Paillier.DecryptMultipleInt64s