emiln/crypto-course — pull request #4 by emiln (2014-09-03 19:16:14+00:00)
Title: Fix periodically failing test

By using `elements` on only legal elements instead of using `such-that` and
hoping to find a legal element within the allowed number of attempts, there is
no longer a risk of the tests for the Affine Cipher failing to find a proper
key.

This fixes issue #1.